|
Wildfire 3.2.4 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.wildfire.event.SessionEventDispatcher
public class SessionEventDispatcher
Dispatches session events. Each event has a type
| Nested Class Summary | |
|---|---|
static class |
SessionEventDispatcher.EventType
Represents valid event types. |
| Method Summary | |
|---|---|
static void |
addListener(SessionEventListener listener)
Registers a listener to receive events. |
static void |
dispatchEvent(Session session,
SessionEventDispatcher.EventType eventType)
Dispatches an event to all listeners. |
static void |
removeListener(SessionEventListener listener)
Unregisters a listener to receive events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addListener(SessionEventListener listener)
listener - the listener.public static void removeListener(SessionEventListener listener)
listener - the listener.
public static void dispatchEvent(Session session,
SessionEventDispatcher.EventType eventType)
session - the session.eventType - the event type.
|
Wildfire 3.2.4 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||