Package org.opennms.netmgt.icmp.jni6
Class Jni6PingRequestId
- java.lang.Object
-
- org.opennms.netmgt.icmp.jni6.Jni6PingRequestId
-
public class Jni6PingRequestId extends Object
JniPingRequestId class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description Jni6PingRequestId(Inet6Address addr, int identifier, int sequenceNumber, long threadId)Constructor for JniPingRequestId.Jni6PingRequestId(Jni6PingResponse reply)Constructor for JniPingRequestId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Inet6AddressgetAddress()getAddressintgetIdentifier()intgetSequenceNumber()getSequenceIdlonggetThreadId()getTidinthashCode()StringtoString()toString
-
-
-
Constructor Detail
-
Jni6PingRequestId
public Jni6PingRequestId(Inet6Address addr, int identifier, int sequenceNumber, long threadId)
Constructor for JniPingRequestId.
- Parameters:
addr- aInetAddressobject.sequenceNumber- a short.threadId- a long.
-
Jni6PingRequestId
public Jni6PingRequestId(Jni6PingResponse reply)
Constructor for JniPingRequestId.
- Parameters:
reply- aorg.opennms.netmgt.icmp.Jni6PingResponse.JniPingResponse.PingReplyobject.
-
-
Method Detail
-
getAddress
public Inet6Address 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.
-
-