|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.electrotank.electroserver4.extensions.api.GameManagerResponse
public class GameManagerResponse
GameManagerResponse is an object returned by the GameManager.
Typically this is in response to an
ElectroServerApi.createGameForUsers
request, and indicates the success or failure of the call.
ElectroServerApi.createGameForUsers,
ElectroServer 4 Manual, Game Manager| Constructor Summary | |
|---|---|
GameManagerResponse(boolean isSuccessful,
com.electrotank.electroserver4.enumerations.ErrorType error)
Creates a new instance of GameManagerResponse. |
|
GameManagerResponse(boolean isSuccessful,
int gameId,
int zoneId,
int roomId,
EsObjectRO gameDetails)
Creates a new instance of GameManagerResponse. |
|
| Method Summary | |
|---|---|
com.electrotank.electroserver4.enumerations.ErrorType |
getError()
Used to get the error for the request |
EsObjectRO |
getGameDetails()
Used to get a read-only copy of the gameDetails |
int |
getGameId()
Used to get the gameId |
int |
getRoomId()
Used to get the roomId |
int |
getZoneId()
Used to get the zoneId |
boolean |
isSuccessful()
Used to get the isSuccessful field of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameManagerResponse(boolean isSuccessful,
int gameId,
int zoneId,
int roomId,
EsObjectRO gameDetails)
isSuccessful - if true, the request was successful.gameId - gameId of the gamezoneId - zoneId of the room for the gameroomId - roomId for the gamegameDetails - a read-only EsObject with any game detailsEsObjectRO,
ElectroServer 4 Manual, Game Manager
public GameManagerResponse(boolean isSuccessful,
com.electrotank.electroserver4.enumerations.ErrorType error)
isSuccessful - if true, the request was successful.error - an ErrorType object, with details on the error| Method Detail |
|---|
public boolean isSuccessful()
public com.electrotank.electroserver4.enumerations.ErrorType getError()
public int getZoneId()
public int getRoomId()
public EsObjectRO getGameDetails()
EsObjectROpublic int getGameId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||