Ravel Python API Reference
A Database-Defined Network Controller
|
A message queue-based message receiver. More...
Public Member Functions | |
def | __init__ |
def | start |
Start a new thread to receive messages. | |
def | stop |
Stop the receiver thread. More... | |
Public Member Functions inherited from ravel.messaging.MessageReceiver | |
def | start |
Start a new thread to receive messages. | |
def | stop |
Stop the receiver thread. More... | |
A message queue-based message receiver.
def ravel.messaging.MsgQueueReceiver.__init__ | ( | self, | |
queue_id, | |||
consumer = None |
|||
) |
queue_id | the integer id of the queue to receive messages from |
consumer | the consuming object for received messages |
def ravel.messaging.MsgQueueReceiver.stop | ( | self, | |
event = None |
|||
) |
Stop the receiver thread.
event | an optional quit message |