|
Holger's Java API |
|||||||||
| 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,
MessageDelegator| 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(Object message,
NetConnection connection)
called when a message is received by the given NetConnection object |
| Method Detail |
|---|
void handleMessage(Object message,
NetConnection connection)
void connectionLost(NetConnection connection)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||