Modifier and Type | Class and Description |
---|---|
static class |
SessionEventDispatcher.EventType
Represents valid event types.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2003–2020 Ignite Realtime. All rights reserved.