public interface IObserverClientToServerConnection
IObserverClientToServerConnection
defines methods for
sending outgoing commands needed for an observer client to communicate
with the server.Modifier and Type | Method and Description |
---|---|
String |
getNetworkAddress() |
void |
sendGameJoinRequest(int gameId,
String clientName)
Sends a GameJoinRequest to the server.
|
void |
sendGameListRequest()
Sends a GameListRequest to the server.
|
String getNetworkAddress()
void sendGameJoinRequest(int gameId, String clientName)
gameId
- the Id of the game the client would like to join (-1 if client wants to join the general game pool)clientName
- the name the user wants to takevoid sendGameListRequest()
Copyright © 2017 smarTen. All rights reserved.