Index
A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- game - Variable in class io.sockit.gameserver.Location
-
The game to which the location belongs
- game - Variable in class io.sockit.gameserver.Room
-
The Game to which this room belongs
- Game - Class in io.sockit.gameserver
-
An instance of this class represents a New Game.
- Game(String, boolean) - Constructor for class io.sockit.gameserver.Game
-
Creates a new Game.
- gameAction(String, JsonObject) - Method in class io.sockit.gameserver.Room
-
Creates and sends a gameAction event/message to all the client's (client sessions - both spectators and players) connected to this room.
- gameDataModified() - Method in class io.sockit.gameserver.Session
-
Marks the session user's game data as modified so that the changes will get saved to the game database.
- gameName - Variable in class io.sockit.gameserver.bot.Room
-
The name of the game that this room belongs to
- gameName - Variable in class io.sockit.gameserver.Game
-
the game Name
- GamePlayInProgressException - Exception in io.sockit.gameserver
-
Exception thrown when
Game.reconfigurePrivateRoom()
is invoked while gamePlay is in progress - GamePlayNotInProgressException - Exception in io.sockit.gameserver.bot
-
Exception thrown when GamePlay has not started and Bot invokes playAction() method
- GamePlayNotInProgressException() - Constructor for exception io.sockit.gameserver.bot.GamePlayNotInProgressException
-
Creates a GamePlayNotInProgressException
- get(byte[]) - Method in interface io.sockit.gameserver.DataStore
-
reads the value associated with the key from the database
- get(byte[]) - Method in class io.sockit.gameserver.LevelDbStore
-
reads the value associated with the key from the database
- getActivePlayers() - Method in class io.sockit.gameserver.Room
-
Returns all the players active in the current game play
- getAdditionalRoomConfig() - Method in class io.sockit.gameserver.Room
-
Should return the additional configuration data for the room.
- getAsBoolean(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a boolean or false if the property does not exist.
- getAsBoolean(JsonObject, String, boolean) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a boolean or defaultValue if the property does not exist.
- getAsDouble(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a double or 0 if the property does not exist.
- getAsDouble(JsonObject, String, double) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a double or defaultValue if the property does not exist.
- getAsFloat(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a float or 0 if the property does not exist.
- getAsFloat(JsonObject, String, float) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a float or defaultValue if the property does not exist.
- getAsInt(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as an int or 0 if the property does not exist.
- getAsInt(JsonObject, String, int) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as an int or defaultValue if the property does not exist.
- getAsJsonArray(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a jsonArray or null if the property does not exist.
- getAsJsonObject(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a jsonObject or null if the property does not exist.
- getAsLong(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a long or 0 if the property does not exist.
- getAsLong(JsonObject, String, long) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a long or defaultValue if the property does not exist.
- getAsShort(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a short or 0 if the property does not exist.
- getAsShort(JsonObject, String, short) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a short or defaultValue if the property does not exist.
- getAsString(JsonObject, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a String or null if the property does not exist.
- getAsString(JsonObject, String, String) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the value of the specified property in the jsonObject as a String or defaultValue if the property does not exist.
- getAvtarId() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the avtarId of the bot
- getAvtarId() - Method in class io.sockit.gameserver.User
-
Returns the id of avatar selected the user.
- getCurrentGamePlayNo() - Method in class io.sockit.gameserver.Room
-
Returns the number of the currently active game play in the room.
- getCurTurnPlayer() - Method in class io.sockit.gameserver.bot.Room
-
Returns the player whose turn is the current turn
- getCurTurnPlayer() - Method in class io.sockit.gameserver.Room
-
Returns the player whose turn is the current turn
- getCurTurnSeatNo() - Method in class io.sockit.gameserver.bot.Room
-
Returns the seat number of the player whose turn is the current turn
- getCurTurnSeatNo() - Method in class io.sockit.gameserver.Room
-
Returns the seat number of the player whose turn is the current turn
- getData() - Method in class io.sockit.gameserver.bot.Player
-
Returns the player's data as json
- getData() - Method in class io.sockit.gameserver.bot.Room
-
Returns the room data as json
- getDelayAfterGamePlayEndedInSecs() - Method in class io.sockit.gameserver.Room
-
Returns the delay between end game play and start game play in seconds.
- getDelayBeforeFirstTurnInSecs() - Method in class io.sockit.gameserver.Room
-
Returns the delay between game start and first turn in seconds.
- getEmailId() - Method in class io.sockit.gameserver.User
-
Returns the email id of the user
- getFirstActivePlayer() - Method in class io.sockit.gameserver.Room
-
Returns the first active player
- getFirstFreeSeatno() - Method in class io.sockit.gameserver.Room
-
Returns the first free (not occupied) seat number.
- getFirstPlayer() - Method in class io.sockit.gameserver.Room
-
Returns the first player in the room
- getFirstRoom(RoomType) - Method in class io.sockit.gameserver.Location
-
returns the first room of the given type in this location
- getFreeSeatNo() - Method in class io.sockit.gameserver.bot.Room
-
Returns the first free seat number
- getGameName() - Method in class io.sockit.gameserver.bot.Bot
-
returns the Name of the game that this Bot is linked to
- getGameName() - Method in class io.sockit.gameserver.Session
-
Returns the name of the game to which this session is linked to
- getGameNo() - Method in class io.sockit.gameserver.bot.Room
-
Returns the number of the currently active game play in this room.
- getGameUserData() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the Game Specific User Data of the Bot
- getGameUserData() - Method in class io.sockit.gameserver.Session
-
Returns the game user data of the session user.
- getJoinedRoom() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the room joined by this bot or null if no room has been joined
- getLocation() - Method in class io.sockit.gameserver.Room
-
Returns the room's location
- getLocation(String) - Method in class io.sockit.gameserver.Game
-
gets Location by Name
- getLocations() - Method in class io.sockit.gameserver.bot.Bot
-
Fetches the list of game locations from the server
- getLocations() - Method in class io.sockit.gameserver.Game
-
This method returns returns all the locations of the Game.
- getMimeType(String) - Static method in class io.sockit.gameserver.WebResource
-
Returns the mime type for the specified file extension
- getName() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the name of the Bot
- getName() - Method in class io.sockit.gameserver.bot.Player
-
The name of the player
- getName() - Method in class io.sockit.gameserver.User
-
returns the name of the User
- getNextActivePlayer() - Method in class io.sockit.gameserver.Room
-
returns the next active player seated after the current turn player.
- getNextActivePlayer(int) - Method in class io.sockit.gameserver.Room
-
returns the next active player seated after the specified seat number.
- getNextActivePlayerWhoCanPlayTurn() - Method in class io.sockit.gameserver.Room
-
Returns the next active player after the current player who can play a turn (player.canPlayTurn() returns true).
- getNextActivePlayerWhoCanPlayTurn(int) - Method in class io.sockit.gameserver.Room
-
Returns the next active player after the specified seat number who can play a turn (player.canPlayTurn() returns true).
- getNextFreeSeatNo(int) - Method in class io.sockit.gameserver.Room
-
Returns the first free (not occupied) seat number after the specified seat number
- getNextPlayer(int) - Method in class io.sockit.gameserver.bot.Room
-
Returns the next player seated after the specified seat number
- getNextPlayer(int) - Method in class io.sockit.gameserver.Room
-
Returns the next player seated after the specified seat number
- getNextPlayer(Player) - Method in class io.sockit.gameserver.bot.Room
-
Returns the next player seated after the specified player
- getNextTurnData(Player) - Method in class io.sockit.gameserver.Room
-
returns the data to be sent to the client along with the nextTurn event/message to clients.
- getOtherId() - Method in class io.sockit.gameserver.User
-
Returns the other id of the user
- getOwnerUserId() - Method in class io.sockit.gameserver.Room
-
Returns user Id of this room's owner if this room is private else null
- getPassword() - Method in class io.sockit.gameserver.User
-
Returns the user's password
- getPlayer() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the player object associated with this Bot or null if the Bot is not seated
- getPlayer() - Method in class io.sockit.gameserver.Session
-
Returns the player instance associated with this session
- getPlayerBySeatNo(int) - Method in class io.sockit.gameserver.bot.Room
-
Returns the player seated at the specified seat number
- getPlayerBySeatNo(int) - Method in class io.sockit.gameserver.Room
-
Returns player seated at the specified seat number
- getPlayerByUserId(String) - Method in class io.sockit.gameserver.bot.Room
-
Returns the player whose userId matches the specified userId
- getPlayerCount() - Method in class io.sockit.gameserver.bot.Room
-
Returns the number of players seated in the room
- getPlayers() - Method in class io.sockit.gameserver.Room
-
Returns all the players in the room
- getPlayersWhoPlayed() - Method in class io.sockit.gameserver.Room
-
Returns all the players who took part in the current game play.
- getPollData() - Method in class io.sockit.gameserver.AbstractBot
- getPollData() - Method in class io.sockit.gameserver.bot.Bot
-
Internal method.
- getPrivateRoom(User) - Method in class io.sockit.gameserver.Game
-
The method returns a the private room of the user if one exists
- getRoom() - Method in class io.sockit.gameserver.Session
-
Returns the room joined by the session or null if no room has been joined
- getRoom(Long) - Static method in class io.sockit.gameserver.Game
-
Returms the room with the specified room ID
- getRoomInfo() - Method in class io.sockit.gameserver.Room
-
Returns RoomInfo as json.
- getRooms(RoomType) - Method in class io.sockit.gameserver.Location
-
returns all the rooms of the given type in this location.
- getRooms(String, RoomType) - Method in class io.sockit.gameserver.bot.Bot
-
Fetches the list of rooms from the server
- getSessionId() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the Bot sessionId
- getSessionId() - Method in class io.sockit.gameserver.Session
-
Returns the session ID - a unique identifier for each session
- getSessionListener() - Method in interface io.sockit.gameserver.SessionListenerFactory
-
Factory method to get a SessionListener for a new session to handle the session events of a client session.
- getSpectators() - Method in class io.sockit.gameserver.Room
-
returns all the client session who are spectators
- getTotalNoOfSeats() - Method in class io.sockit.gameserver.Room
-
Returns the maximum number of players who can play in the room (total number of seats in the room)
- getTurnDurationInSecs() - Method in class io.sockit.gameserver.Room
-
Returns the turn duration in seconds
- getTurnTimeLeftMillis() - Method in class io.sockit.gameserver.bot.Player
-
Returns the turn time left in milliseconds
- getUser() - Method in class io.sockit.gameserver.Session
-
Returns the user instance associated with this session
- getUserId() - Method in class io.sockit.gameserver.bot.Bot
-
Returns the user ID of the Bot.
- getValueAsString(JsonValue) - Static method in class io.sockit.gameserver.JsonUtil
-
Returns the json value as a String
- getWebResource(SocketAddress, Iterable<Map.Entry<String, String>>, String) - Method in class io.sockit.gameserver.DefaultWebHandler
- getWebResource(SocketAddress, Iterable<Map.Entry<String, String>>, String) - Method in interface io.sockit.gameserver.WebHandler
-
Returns the Web Resource for a specified web path.The web path is the path following the domain name in a web url.
All Classes All Packages