| Modifier and Type | Class and Description |
|---|---|
static class |
ServerSessionEventDispatcher.EventType
Represents valid event types.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addListener(ServerSessionEventListener listener)
Registers a listener to receive events.
|
static void |
dispatchEvent(Session session,
ServerSessionEventDispatcher.EventType eventType)
Dispatches an event to all listeners.
|
static void |
removeListener(ServerSessionEventListener listener)
Unregisters a listener to receive events.
|
public static void addListener(ServerSessionEventListener listener)
listener - the listener.public static void removeListener(ServerSessionEventListener listener)
listener - the listener.public static void dispatchEvent(Session session, ServerSessionEventDispatcher.EventType eventType)
session - the session.eventType - the event type.Copyright © 2003–2019 Ignite Realtime. All rights reserved.