|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Connection
A communications connection to other entities on the net.
| Method Summary | |
|---|---|
void |
close()
Shut down the connection. |
int |
id()
Identify this connection for logging purposes. |
void |
sendMsg(Object message)
Send a message over the connection to whomever is at the other end. |
void |
setDebugMode(boolean mode)
Turn debug features for this connection on or off. |
| Method Detail |
|---|
void close()
int id()
void sendMsg(Object message)
message - The message to be sent.void setDebugMode(boolean mode)
mode - If true, turn debug mode on; if false, turn it off.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||