Index
All Classes and Interfaces|All Packages
A
- await(String) - Method in class net.phoenix.EventEmitter
-
Awaits for a method under the global channel
C
- call(String, T) - Method in interface net.phoenix.Callback
-
Can be used in two ways;
- Callback<T extends Event> - Interface in net.phoenix
-
Simple callback
E
- emit(String, T) - Method in class net.phoenix.EventEmitter
-
Calls all the events under a channel
- emit(T) - Method in class net.phoenix.EventEmitter
-
Awaits for a method under the global channel
- Event - Class in net.phoenix
-
Event class.
- Event() - Constructor for class net.phoenix.Event
- EventEmitter<T extends Event> - Class in net.phoenix
-
Standard event emitter class
- EventEmitter() - Constructor for class net.phoenix.EventEmitter
- EventEmitter.Priority - Enum Class in net.phoenix
-
Priorities
G
- getValue() - Method in enum class net.phoenix.EventEmitter.Priority
H
- HIGH - Enum constant in enum class net.phoenix.EventEmitter.Priority
-
Use for high level event handlers
L
- LOW - Enum constant in enum class net.phoenix.EventEmitter.Priority
-
Default priority, called last
M
- MEDIUM - Enum constant in enum class net.phoenix.EventEmitter.Priority
-
Event handlers that should be called before the end
N
- net.phoenix - package net.phoenix
O
- off(String) - Method in class net.phoenix.EventEmitter
-
Disable a eventHandler
- on(String, Callback<T>) - Method in class net.phoenix.EventEmitter
-
Register an event handler with default priority of LOW
- on(String, Callback<T>, EventEmitter.Priority) - Method in class net.phoenix.EventEmitter
-
Register an event handler with a custom priority
- on(Callback<T>) - Method in class net.phoenix.EventEmitter
-
Awaits for a method under the global channel
- on(Callback<T>, EventEmitter.Priority) - Method in class net.phoenix.EventEmitter
-
Awaits for a method under the global channel
T
- TOP - Enum constant in enum class net.phoenix.EventEmitter.Priority
-
ONLY USE FOR RARE CASES where this event needs to be called at the top.
V
- valueOf(String) - Static method in enum class net.phoenix.EventEmitter.Priority
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.phoenix.EventEmitter.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages