Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, zf, e, core):
ZmqREPConnection.__init__(self, zf, e)
self.dispatcher = CommandDispatcher(core)
def __init__(self, port, zmq_factory, data_manager):
self.data_manager = data_manager
endpoint = ZmqEndpoint(ZmqEndpointType.bind, "tcp://*:%d" % port)
ZmqREPConnection.__init__(self, zmq_factory, endpoint)