|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPingRequest
Class that stores information about a Ping request that was sent
Constructor Summary | |
PingRequest(int destAddr,
byte[] msg,
long timeSent)
Initialize member variables |
Method Summary | |
int |
getDestAddr()
|
byte[] |
getMsg()
|
long |
getTimeSent()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PingRequest(int destAddr, byte[] msg, long timeSent)
destAddr
- The address of the destination hostmsg
- The message that was senttimeSent
- The time that the ping was sentMethod Detail |
public int getDestAddr()
public byte[] getMsg()
public long getTimeSent()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |