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

A remote procedure call-based message receiver. More...

Inheritance diagram for ravel.messaging.RpcReceiver:
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 remote procedure call-based message receiver.

Constructor & Destructor Documentation

def ravel.messaging.RpcReceiver.__init__ (   self,
  host,
  port,
  consumer = None 
)
Parameters
hostthe hostname or IP address of the RPC server
portthe port for the RPC server
consumerthe consuming object for received messages

Member Function Documentation

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

Stop the receiver thread.

Parameters
eventan optional quit message

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