urv.olsr.message
Interface OLSRMessageSender

All Known Implementing Classes:
OLSR

public interface OLSRMessageSender

Author:
Gerard Paris Aixala

Method Summary
 java.lang.Object sendControlMessage(org.jgroups.Message msg)
          Sends an OLSR control message.
 java.lang.Object sendDataMessage(org.jgroups.Message msg, OLSRNode finalDest, java.lang.String mcast_addr_name)
          Sends an OLSR data message.
 

Method Detail

sendControlMessage

java.lang.Object sendControlMessage(org.jgroups.Message msg)
Sends an OLSR control message. The implementation of this method must attach the corresponding OLSRHeader to the message

Parameters:
msg -

sendDataMessage

java.lang.Object sendDataMessage(org.jgroups.Message msg,
                                 OLSRNode finalDest,
                                 java.lang.String mcast_addr_name)
Sends an OLSR data message. The implementation of this method must attach the corresponding OLSRHeader to the message

Parameters:
msg - The message including the next hop address as the destination address
finalDest - The final destination of the message
mcast_addr_name -