|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener.java Listener is a basic block of the xmiddle networking architecture, used by protocol sessions to receive information from specific hosts or group of hosts. It also includes methods to define the maximum segment size of data to expect. Created: Fri Jul 20 14:13:43 2001
Method Summary | |
void |
close()
Closes the connection |
int |
getSegment()
Retrieve the maximum segment size of bytes expected to receive as previously set. |
Data |
rawReceive()
receives a packet without negotitating packet size |
Data |
receive()
Receives data from the host/group of hosts |
void |
setSegment(int size)
Set the maximum segment size of bytes expected to receive. |
Method Detail |
public Data receive()
public void setSegment(int size)
size
- The maximum segment size in bytes.public int getSegment()
public void close()
public Data rawReceive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |