Ejemplo n.º 1
0
    def _start(self):
        super(MDPv01, self)._start()

        # Run the MDP broker
        b = Broker(self.config, self.on_message_callback)
        b.serve_forever()

# ################################################################################################################################
Ejemplo n.º 2
0
    def _start(self):
        super(MDPv01, self)._start()

        # Run the MDP broker
        self.impl = Broker(self.config, self.on_message_callback)
        self.impl.serve_forever()


# ################################################################################################################################
Ejemplo n.º 3
0
    def _start(self):
        super(MDPv01, self)._start()

        # Run the MDP broker
        self.impl = Broker(self.config, self.on_message_callback)

        # Notify parent class that we are connected now.
        self.is_connected = True

        self.impl.serve_forever()
Ejemplo n.º 4
0
class MDPv01(Base):
    """ An MDP (Majordomo) v0.1 ZeroMQ channel.
    """
    start_in_greenlet = True

    def _start(self):
        super(MDPv01, self)._start()

        # Run the MDP broker
        self.impl = Broker(self.config, self.on_message_callback)
        self.impl.serve_forever()


# ################################################################################################################################
Ejemplo n.º 5
0
class MDPv01(Base):
    """ An MDP (Majordomo) v0.1 ZeroMQ channel.
    """
    start_in_greenlet = True

    def _start(self):
        super(MDPv01, self)._start()

        # Run the MDP broker
        self.impl = Broker(self.config, self.on_message_callback)

        # Notify parent class that we are connected now.
        self.is_connected = True

        self.impl.serve_forever()