Package | Description |
---|---|
org.menacheri.jetclient.app | |
org.menacheri.jetclient.app.impl | |
org.menacheri.jetclient.event | |
org.menacheri.jetclient.event.impl |
Modifier and Type | Method and Description |
---|---|
List<EventHandler> |
Session.getEventHandlers(int eventType) |
Modifier and Type | Method and Description |
---|---|
void |
Session.addHandler(EventHandler eventHandler)
This handler is actually added to the
EventDispatcher . |
void |
Session.removeHandler(EventHandler eventHandler) |
Modifier and Type | Method and Description |
---|---|
List<EventHandler> |
DefaultSession.getEventHandlers(int eventType) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSession.addHandler(EventHandler eventHandler) |
void |
DefaultSession.removeHandler(EventHandler eventHandler) |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionEventHandler
In addition to handling events this handler will also have a reference to the
session.
|
Modifier and Type | Method and Description |
---|---|
List<EventHandler> |
EventDispatcher.getHandlers(int eventType)
Returns the list of
EventHandler s associated with a particular
event type. |
Modifier and Type | Method and Description |
---|---|
void |
EventDispatcher.addHandler(EventHandler eventHandler)
Adds event handler to the dispatcher.
|
void |
EventDispatcher.removeHandler(EventHandler eventHandler)
Removes an event handler from the dispatcher
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionEventHandler
Provides default implementation for most of the events.
|
Modifier and Type | Field and Description |
---|---|
private List<EventHandler> |
DefaultEventDispatcher.genericHandlers |
private Map<Integer,List<EventHandler>> |
DefaultEventDispatcher.handlersByEventType |
Modifier and Type | Method and Description |
---|---|
List<EventHandler> |
DefaultEventDispatcher.getHandlers(int eventType) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultEventDispatcher.addHandler(EventHandler eventHandler) |
void |
DefaultEventDispatcher.removeHandler(EventHandler eventHandler) |
Constructor and Description |
---|
DefaultEventDispatcher(Map<Integer,List<EventHandler>> handlersByEventType,
List<EventHandler> genericHandlers) |
DefaultEventDispatcher(Map<Integer,List<EventHandler>> handlersByEventType,
List<EventHandler> genericHandlers) |
Copyright © 2012. All Rights Reserved.