public interface IConnectionEventListener
extends java.util.EventListener
IEventService
Modifier and Type | Method and Description |
---|---|
default void |
onConnect()
Callback used when the service connects to the server.
|
default void |
onDisconnect()
Callback used when the service disconnects from the server.
|
default void |
onError(java.lang.Exception e)
Callback used when the service encounters an error with its connection to the server.
|
default void onConnect()
default void onDisconnect()
default void onError(java.lang.Exception e)
e
- the exception