Module org.snmp4j
Package org.snmp4j.mp

Class TimedMessageID

  • All Implemented Interfaces:
    java.io.Serializable, MessageID

    public class TimedMessageID
    extends SimpleMessageID
    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:
    Serialized Form
    • Constructor Detail

      • TimedMessageID

        public TimedMessageID​(int messageID)
    • Method Detail

      • getCreationNanoTime

        public long getCreationNanoTime()
        Gets the System.nanoTime() when this message ID object has been created.
        Returns:
        the creation time stamp in nano seconds.