|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface captures the common elements of InputPackets and OutputPackets. They both go to (or come from) an internet address and port, and sometimes have an id number and a time stamp. Note that id() and time() may be undefined for an InputPacket that has not gone through some Handler that reads its id and timestamp.
InputPacket
,
OutputPacket
Method Summary | |
java.net.InetAddress |
address()
The internet address this packet came from or is going to |
int |
id()
The id of this packet |
int |
port()
The port this packet came from or is going to |
long |
time()
The sending timestamp of this packet |
int |
timeout()
The timeout in milliseconds of this packet |
Method Detail |
public java.net.InetAddress address()
public int port()
public int id()
public long time()
public int timeout()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |