MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / Processor

Class Processor

python/minifi/__init__.py:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54CALLBACK = ctypes.CFUNCTYPE(None, ctypes.POINTER(CProcessSession), ctypes.POINTER(CProcessContext))
55
56class Processor(object):
57 def __init__(self, cprocessor, minifi):
58 super(Processor, self).__init__()
59 self._proc = cprocessor
60 self._minifi = minifi
61
62 def set_property(self, name, value):
63 return self._minifi.set_property( self._proc, name.encode("UTF-8"), value.encode("UTF-8")) == 0
64
65class PyProcessor(object):
66 def __init__(self, minifi, flow):

Callers 1

add_processorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected