java.lang.Object
org.snmp4j.mp.SimpleMessageID
org.snmp4j.mp.TimedMessageID
- All Implemented Interfaces:
Serializable
,MessageID
The
TimedMessageID
adds system time information to the message ID that allows
to measure response times and detect lost messages with SNMPv3.- Since:
- 2.4.3
- Author:
- Frank Fock
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Gets theSystem.nanoTime()
when this message ID object has been created.toString()
Methods inherited from class org.snmp4j.mp.SimpleMessageID
equals, getID, hashCode
-
Constructor Details
-
TimedMessageID
public TimedMessageID(int messageID)
-
-
Method Details
-
getCreationNanoTime
public long getCreationNanoTime()Gets theSystem.nanoTime()
when this message ID object has been created.- Returns:
- the creation time stamp in nano seconds.
-
toString
- Overrides:
toString
in classSimpleMessageID
-