Exemple #1
0
    def msgpipe(self):
        """
        Return message pipe for asynchronous message I/O. In the high-volume case,
we send methods and get replies to the actor, in a synchronous manner, and
we send/recv high volume message data to a second pipe, the msgpipe. In
the low-volume case we can do everything over the actor pipe, if traffic
is never ambiguous.
        """
        return czmq.Zsock(lib.mlm_client_msgpipe(self._as_parameter_), False)
Exemple #2
0
 def socket(self):
     """
     Return socket for talking to the Zyre node, for polling
     """
     return czmq.Zsock(lib.zyre_socket(self._as_parameter_), False)