Ravel Python API Reference
A Database-Defined Network Controller
Public Member Functions | List of all members
ravel.messaging.MsgQueueReceiver Class Reference

A message queue-based message receiver. More...

Inheritance diagram for ravel.messaging.MsgQueueReceiver:
ravel.messaging.MessageReceiver

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...
 

Detailed Description

A message queue-based message receiver.

Constructor & Destructor Documentation

def ravel.messaging.MsgQueueReceiver.__init__ (   self,
  queue_id,
  consumer = None 
)
Parameters
queue_idthe integer id of the queue to receive messages from
consumerthe consuming object for received messages

Member Function Documentation

def ravel.messaging.MsgQueueReceiver.stop (   self,
  event = None 
)

Stop the receiver thread.

Parameters
eventan optional quit message

The documentation for this class was generated from the following file: