Package org.opennms.netmgt.icmp.jni
Class JniPingRequestId
- java.lang.Object
-
- org.opennms.netmgt.icmp.jni.JniPingRequestId
-
public class JniPingRequestId extends Object
JniPingRequestId class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description JniPingRequestId(InetAddress addr, int identifier, int sequenceNumber, long threadId)Constructor for JniPingRequestId.JniPingRequestId(JniPingResponse reply)Constructor for JniPingRequestId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InetAddressgetAddress()getAddressintgetIdentifier()intgetSequenceNumber()getSequenceIdlonggetThreadId()getTidinthashCode()StringtoString()toString
-
-
-
Constructor Detail
-
JniPingRequestId
public JniPingRequestId(InetAddress addr, int identifier, int sequenceNumber, long threadId)
Constructor for JniPingRequestId.
- Parameters:
addr- aInetAddressobject.sequenceNumber- a short.threadId- a long.
-
JniPingRequestId
public JniPingRequestId(JniPingResponse reply)
Constructor for JniPingRequestId.
- Parameters:
reply- aorg.opennms.netmgt.icmp.spi.JniPingResponse.PingReplyobject.
-
-
Method Detail
-
getAddress
public InetAddress getAddress()
getAddress
- Returns:
- a
InetAddressobject.
-
getIdentifier
public int getIdentifier()
-
getSequenceNumber
public int getSequenceNumber()
getSequenceId
- Returns:
- a int.
-
getThreadId
public long getThreadId()
getTid
- Returns:
- a long.
-
-