|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.repository.processforward.ForwardedTuple
public class ForwardedTuple
The class implements the forwarded tuple, as specified in OLSRv2.
Constructor Summary | |
---|---|
ForwardedTuple(MessageTypes type,
java.net.InetAddress address,
int sequenceNumber,
long time)
Constructor |
Method Summary | |
---|---|
java.net.InetAddress |
getAddress()
Returns the IP address |
int |
getSequenceNumber()
Returns the sequence number |
long |
getTime()
Returns the time |
MessageTypes |
getType()
Returns the message type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForwardedTuple(MessageTypes type, java.net.InetAddress address, int sequenceNumber, long time)
type
- the message typeaddress
- the IP addresssequenceNumber
- the sequence numbertime
- the timeMethod Detail |
---|
public MessageTypes getType()
public java.net.InetAddress getAddress()
public int getSequenceNumber()
public long getTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |