|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sender.java A Sender is a networking component used by the Protocol sessions to send data to a specific host (or perhaps group of hosts). It also includes method to send the data segmented at a defined segment size Created: Fri Jul 20 14:04:58 2001
Method Summary | |
void |
close()
closes the connection |
int |
getSegment()
Gets the maximum segment size (in bytes) |
boolean |
rawSend(Data data)
Sends the given data without negotiating any packet information |
boolean |
send(Data data)
Sends the given packet to the host. |
void |
setSegment(int size)
Set the maximum segment size using which the packet will be segmented. |
Method Detail |
public boolean send(Data data)
data
- the packet to be sent
public void setSegment(int size)
size
- The maximum segment size in bytes.public int getSegment()
public void close()
public boolean rawSend(Data data)
data
- The text to send
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |