org.opennms.netmgt.ping
Class PingRequestId

java.lang.Object
  extended by org.opennms.netmgt.ping.PingRequestId

public class PingRequestId
extends Object

PingRequestId class.

Version:
$Id: $
Author:
ranger

Constructor Summary
PingRequestId(InetAddress addr, long tid, short seqId)
          Constructor for PingRequestId.
PingRequestId(PingReply reply)
          Constructor for PingRequestId.
 
Method Summary
 boolean equals(Object obj)
          
 InetAddress getAddress()
          getAddress
 short getSequenceId()
          getSequenceId
 long getTid()
          getTid
 int hashCode()
          
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingRequestId

public PingRequestId(InetAddress addr,
                     long tid,
                     short seqId)

Constructor for PingRequestId.

Parameters:
addr - a InetAddress object.
tid - a long.
seqId - a short.

PingRequestId

public PingRequestId(PingReply reply)

Constructor for PingRequestId.

Parameters:
reply - a PingReply object.
Method Detail

getAddress

public InetAddress getAddress()

getAddress

Returns:
a InetAddress object.

getTid

public long getTid()

getTid

Returns:
a long.

getSequenceId

public short getSequenceId()

getSequenceId

Returns:
a short.

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.