urv.olsr.message
Class HelloMessage
java.lang.Object
urv.olsr.message.HelloMessage
- All Implemented Interfaces:
- org.jgroups.util.Streamable, OLSRMessage
public class HelloMessage
- extends java.lang.Object
- implements OLSRMessage
A common mechanism is employed for populating the local link
information base and the neighborhood information base, namely
periodic exchange of HELLO messages.
- Author:
- Gerard Paris Aixala
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HelloMessage
public HelloMessage()
HelloMessage
public HelloMessage(HashMapSet<LinkCode,OLSRNode> map)
readFrom
public void readFrom(java.io.DataInputStream in)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
- Specified by:
readFrom
in interface org.jgroups.util.Streamable
- Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
toString
public java.lang.String toString()
- Returns a String representation of this HELLO message
- Overrides:
toString
in class java.lang.Object
writeTo
public void writeTo(java.io.DataOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in interface org.jgroups.util.Streamable
- Throws:
java.io.IOException
getMessageInfo
public HashMapSet<LinkCode,OLSRNode> getMessageInfo()