public interface ConnectionListener
Modifier and Type | Method and Description |
---|---|
void |
notifyClientConnected(Byte id,
String name)
Notify when a new client is connected.
|
void |
notifyClientDisconnected(Byte id,
String name)
Notify when a client is disconnected.
|
void |
notifyClientNameChanged(Byte id,
String name)
Notify when a client changed its name.
|
void |
notifyConnectionEstablished(Byte id,
String name)
Notify when the connection to the server is established.
|
void |
notifyConnectionTerminated(Byte id)
Notify when the connection to the server is terminated.
|
void |
notifyMessageOfTheDay(String messageOfTheDay)
Notify the message of the day.
|
void notifyConnectionEstablished(Byte id, String name)
id
- The id received.name
- The client name.void notifyMessageOfTheDay(String messageOfTheDay)
messageOfTheDay
- The message of the day.void notifyConnectionTerminated(Byte id)
id
- The id received.void notifyClientConnected(Byte id, String name)
id
- The client id.name
- The client name.void notifyClientDisconnected(Byte id, String name)
id
- The client id.name
- The client name.Copyright © 2016 Byron 3D Games Studio. All rights reserved.