|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NetConnectionHandler
A NetConnectionHandler is used to handle incoming messages from a NetConnection. On the server side, there is typically one object for each connected client.
NetConnection| Method Summary | |
|---|---|
void |
connectionLost(NetConnection connection)
called when a connection caused an IOException during reading or writing; the connection may not have been closed at this point. |
void |
handleMessage(java.lang.Object message,
NetConnection connection)
called when a message is received by the given NetConnection object |
| Method Detail |
|---|
void handleMessage(java.lang.Object message,
NetConnection connection)
message - DOCUMENT ME!connection - DOCUMENT ME!void connectionLost(NetConnection connection)
connection - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||