Arkady Listeners

arkady.listeners.router(application, bind_to=None)

The router listener handles asynchronous requests in the request-reply pattern. A request of type zmq.REQ shall be given a reply of type zmq.REP

Parameters:
  • application
  • bind_to (string) – Network path on which to listen. Defaults to 'tcp://*:5555'
Returns:

arkady.listeners.sub(application, connect_to=None, topics=None)

The sub listener handles asynchronous requests in the pub-sub pattern. A request of type zmq.PUB receives no reply

Parameters:
  • application
  • connect_to (string) – A well-known network URI, like ‘tcp://192.168.1.200:5555
  • topics ([string]) – A list of topics as to subscribe to
Returns: