Package g4ds :: Module routingcontroller :: Class RoutingEngine
[show private | hide private]
[frames | no frames]

Class RoutingEngine


Handles all outgoing messages.
Method Summary
  __init__(self)
Yet empty constructor.
  sendMessage(self, message, endpoint)
Tries to deliver a message directly, if impossible via wrapping into routing message.

Method Details

__init__(self)
(Constructor)

Yet empty constructor.

sendMessage(self, message, endpoint)

Tries to deliver a message directly, if impossible via wrapping into routing message.

All messages should be passed here and not be sent from anywhere else. The routing engine looks, whether the given endpoint may be reached directly from the local node. If this is possible, the message is sent off directly. If, however, this is not possible, the message is wrapped into a routing message and gateways are tried to identify for passing the message through the topology.

Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 http://epydoc.sf.net