Modifier and Type | Class and Description |
---|---|
class |
ConnectEvent
Indicates that the server has accepted a new socket.
|
class |
DisconnectEvent
Indicates that a connection has disconnected from the server.
|
class |
ExceptionEvent
Indicates that an exception has occurred while creating a new connection,
processing the input from a connection, or closing a connection.>
|
class |
InputEvent
Indicates that a connection has sent a message to the server.
|
Modifier and Type | Field and Description |
---|---|
static Event |
Event.SERVER_START_EVENT
This event is always returned first by
EventQueue.pop() . |
static Event |
Event.SERVER_STOP_EVENT
This event is always returned last by
EventQueue.pop() . |
Modifier and Type | Method and Description |
---|---|
Event |
EventQueue.pop()
Removes the first
Event from the queue and returns it. |