public final class ConnectEvent extends Event
Indicates that the server has accepted a new socket.
This event will always occur before any InputEvents for this
connection and before the connection's DisconnectEvent.
Event.Type| Modifier and Type | Field and Description |
|---|---|
Connection |
connection
The new connection.
|
SERVER_START_EVENT, SERVER_STOP_EVENT, typepublic final Connection connection