Package org.opennms.netmgt.icmp.jna
Class JnaPingRequestId
- java.lang.Object
-
- org.opennms.netmgt.icmp.jna.JnaPingRequestId
-
public class JnaPingRequestId extends Object
JnaPingRequestId class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description JnaPingRequestId(InetAddress addr, int identifier, int sequenceNumber, long threadId)
Constructor for JnaPingRequestId.JnaPingRequestId(JnaPingReply reply)
Constructor for JnaPingRequestId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
InetAddress
getAddress()
getAddressint
getIdentifier()
getTidint
getSequenceNumber()
getSequenceIdlong
getThreadId()
int
hashCode()
String
toString()
toString
-
-
-
Constructor Detail
-
JnaPingRequestId
public JnaPingRequestId(InetAddress addr, int identifier, int sequenceNumber, long threadId)
Constructor for JnaPingRequestId.
- Parameters:
addr
- aInetAddress
object.identifier
- a long.seqId
- a short.
-
JnaPingRequestId
public JnaPingRequestId(JnaPingReply reply)
Constructor for JnaPingRequestId.
- Parameters:
reply
- aorg.opennms.netmgt.icmp.spi.JnaPingReply.PingReply
object.
-
-
Method Detail
-
getAddress
public InetAddress getAddress()
getAddress
- Returns:
- a
InetAddress
object.
-
getIdentifier
public int getIdentifier()
getTid
- Returns:
- a long.
-
getSequenceNumber
public int getSequenceNumber()
getSequenceId
- Returns:
- a short.
-
getThreadId
public long getThreadId()
-
-