Modifier and Type | Field and Description |
---|---|
Connection |
InputEvent.connection |
Connection |
DisconnectEvent.connection |
Connection |
ConnectEvent.connection
The new connection.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
MultiSocketServer.createNewConnection(java.net.Socket socket)
This method creates a new
Connection object for each socket that
connects. |
protected Connection |
EventQueue.createNewConnection(java.net.Socket socket)
This method creates a new
Connection object for each socket that
connects. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
MultiSocketServer.onConnect(Connection connection)
Called when an
ConnectEvent occurs. |
protected abstract void |
MultiSocketServer.onDisconnect(Connection connection)
Called when an
DisconnectEvent occurs. |
protected abstract void |
MultiSocketServer.onInput(Connection connection,
java.lang.String input)
Called when an
InputEvent occurs. |