| Package | Description |
|---|---|
| com.github.steveice10.packetlib | |
| com.github.steveice10.packetlib.event.session | |
| com.github.steveice10.packetlib.tcp |
| Modifier and Type | Method and Description |
|---|---|
void |
Session.callEvent(SessionEvent event)
Calls an event on the listeners of this session.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectedEvent
Called when the session connects.
|
class |
DisconnectedEvent
Called when the session is disconnected.
|
class |
DisconnectingEvent
Called when the session is about to disconnect.
|
class |
PacketErrorEvent
Called when a session encounters an error while reading or writing packet data.
|
class |
PacketSendingEvent
Called when the session is sending a packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TcpSession.callEvent(SessionEvent event) |
Copyright © 2021. All rights reserved.