|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IClientEventHandler
The Client Event Handler interface.
An event handler is a sink for events generated by a client.
Client events contain:
- An event type field (an integer value)
- An event data object (a type specific object).
Event types and their associated structure are defined in the
ClientEvents
class and are applicable to all client implementations.
An implementation is free to add more implementation specific event types.
Method Summary | |
---|---|
void |
onEvent(Client<? extends ClientConnectionPool> client,
int type,
Object data)
The event handler method |
Method Detail |
---|
void onEvent(Client<? extends ClientConnectionPool> client, int type, Object data)
client
- The client from where this event originated.type
- The event type.data
- The type specific event event data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |