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