|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use SOCMessage | |
| soc.client | |
| soc.message | |
| soc.robot | |
| soc.server | |
| Uses of SOCMessage in soc.client |
| Methods in soc.client with parameters of type SOCMessage | |
void |
SOCPlayerClient.treat(SOCMessage mes,
boolean isLocal)
Treat the incoming messages. |
void |
SOCDisplaylessPlayerClient.treat(SOCMessage mes)
Treat the incoming messages. |
void |
SOCAccountClient.treat(SOCMessage mes)
Treat the incoming messages |
| Uses of SOCMessage in soc.message |
| Subclasses of SOCMessage in soc.message | |
class |
SOCAcceptOffer
This message means that the player is accepting an offer. |
class |
SOCAdminPing
This message is a way for the admin to test if a robot is connected and running |
class |
SOCAdminReset
This message allows the admin to reset a robot player remotely |
class |
SOCBankTrade
This message means that a player wants to trade with the bank |
class |
SOCBCastTextMsg
This message contains a text message for everyone connected |
class |
SOCBoardLayout
This message contains the board layout information. |
class |
SOCBuildRequest
This message says which player the current player wants to steal from. |
class |
SOCBuyCardRequest
This message means that the player wants to buy a development card. |
class |
SOCCancelBuildRequest
This message type has three meanings, depending on game state and direction of send. |
class |
SOCChangeFace
This message says that a player is changing the face icon. |
class |
SOCChannels
This message lists all the chat channels on a server |
class |
SOCChoosePlayer
This message says which player the current player wants to steal from. |
class |
SOCChoosePlayerRequest
This message asks a player to choose a player to steal from. |
class |
SOCClearOffer
This message means that the player is retracting an offer |
class |
SOCClearTradeMsg
This message means that the server wants the trade message cleared |
class |
SOCCreateAccount
This message is a request to create an account |
class |
SOCDeleteChannel
This message means that a chat channel has been destroyed. |
class |
SOCDeleteGame
This message means that a soc game has been destroyed. |
class |
SOCDevCard
This message means that a player is drawing or playing a development card |
class |
SOCDevCardCount
This message says how many development cards are in the deck. |
class |
SOCDiceResult
This message reports total of what was rolled on the dice. |
class |
SOCDiscard
This message means that a player is discarding |
class |
SOCDiscardRequest
This message requests that the player discard a particular number of cards |
class |
SOCDiscoveryPick
This message says which resources the player picked for a Discovery card |
class |
SOCEndTurn
This message means that a player wants to end the turn |
class |
SOCFirstPlayer
This message says who the first player is |
class |
SOCGameMembers
This message lists all the members of a game |
class |
SOCGames
This message lists all the soc games on a server |
class |
SOCGameState
This message communicates the current state of the game |
class |
SOCGameStats
This message contains the scores for the people at a game. |
class |
SOCGameTextMsg
This message contains a text message for a SoC game. |
class |
SOCImARobot
This message tells the server that the client is a robot |
class |
SOCJoin
This message means that someone is joining a channel |
class |
SOCJoinAuth
This message means that the server has authorized this client to join a channel |
class |
SOCJoinGame
This message means that someone is joining a game |
class |
SOCJoinGameAuth
This message means that the player is allowed to join the game this client to join a game |
class |
SOCJoinGameRequest
This message means that the server has authorized this client to join a game |
class |
SOCLargestArmy
This message says which player has largest army. |
class |
SOCLastSettlement
This message tells the client where the last settlement was places Used for robots during init set up |
class |
SOCLeave
This message means that someone is leaveing a channel |
class |
SOCLeaveAll
This message means that someone is leaving all the channels |
class |
SOCLeaveGame
This message means that someone is leaveing a game |
class |
SOCLongestRoad
This message says which player has longest road. |
class |
SOCMakeOffer
This message means that a player wants to trade with other players |
class |
SOCMembers
This message lists all the members of a chat channel |
class |
SOCMessageMulti
Message containing multiple parameters, each of which may have sub-fields. |
class |
SOCMessageTemplate0
Template for per-game message types with no parameters. |
class |
SOCMessageTemplate1i
Template for per-game message types with 1 integer parameter. |
class |
SOCMessageTemplate1s
Template for per-game message types with 1 string parameter. |
class |
SOCMessageTemplate2i
Template for per-game message types with 2 integer parameters. |
class |
SOCMessageTemplate2s
Template for per-game message types with 2 string parameters. |
class |
SOCMessageTemplate3s
Template for per-game message types with 3 string parameters. |
class |
SOCMessageTemplateMi
Template for per-game message types with variable number of integer parameters. |
class |
SOCMessageTemplateMs
Template for per-game message types with variable number of string parameters. |
class |
SOCMonopolyPick
This message says what resource the current player wants to monopolize |
class |
SOCMoveRobber
This message means that a player wants to move the robber |
class |
SOCNewChannel
This message means that a new chat channel has been created. |
class |
SOCNewGame
This message means that a new game has been created. |
class |
SOCPlayDevCardRequest
This message means that a player wants to play a development card |
class |
SOCPlayerElement
This message means that someone is joining a game |
class |
SOCPotentialSettlements
This message contains a list of potential settlements |
class |
SOCPutPiece
This message means that a player has placed a piece on the board |
class |
SOCRejectConnection
This message means that a client isn't allowed to connect |
class |
SOCRejectOffer
This message means that the player is rejecting an offer. |
class |
SOCResetBoardAuth
This message from server informs the client that a game they're playing has been "reset" to a new game (with same name and players, new layout), and they should join at the given position. |
class |
SOCResetBoardReject
This message from server informs all clients that voting has ended, and the board reset request has been rejected. |
class |
SOCResetBoardRequest
This message from client to server requests a "reset board" of a game being played. |
class |
SOCResetBoardVote
This bi-directional message gives the client's vote on a "board reset", which was requested by another player in that game. |
class |
SOCResetBoardVoteRequest
This message from server informs the client that in a game they're playing, another player requests a "board reset" (new game with same name and players, new layout), and they should vote yes or no. |
class |
SOCResourceCount
This message has the total resource count for a player |
class |
SOCRobotDismiss
This message means that the server wants the robot who receives this message to leave the game. |
class |
SOCRollDice
This message means that the player is rolling the dice this client to join a game |
class |
SOCRollDicePrompt
This message from server informs all players whose turn it is, so they may roll the dice, or take other action allowable at that time. |
class |
SOCRollDiceRequest
This message requests that the player rolls the dice this client to join a game |
class |
SOCServerPing
This is a ping message from the server |
class |
SOCSetPlayedDevCard
This message sets the flag which says if a player has played a development card this turn |
class |
SOCSetSeatLock
This message sets the lock state of a seat. |
class |
SOCSetTurn
This message from server to client says whose turn it is. |
class |
SOCSetupDone
This message means that all players are done placing their initial settlements. |
class |
SOCSitDown
This message means that a player wants to sit down to play |
class |
SOCStartGame
This message means that a player wants to start the game |
class |
SOCStatusMessage
This is a text message that shows in a status box on the client. |
class |
SOCTextMsg
This message contains a text message |
class |
SOCTurn
This message from server to client signals end of the current player's turn. |
class |
SOCUpdateRobotParams
This message means that the robot client needs to update the robot parameters with the contained information |
class |
SOCVersion
This message sends the server's or client's version to the other side of the connection. |
| Methods in soc.message that return SOCMessage | |
static SOCMessage |
SOCMessage.toMsg(java.lang.String s)
Convert a string into a SOCMessage. |
| Uses of SOCMessage in soc.robot |
| Methods in soc.robot with parameters of type SOCMessage | |
void |
SOCRobotClient.treat(SOCMessage mes)
Treat the incoming messages. |
| Uses of SOCMessage in soc.server |
| Methods in soc.server with parameters of type SOCMessage | |
void |
SOCServer.messageToChannel(java.lang.String ch,
SOCMessage mes)
Send a message to the given channel |
void |
SOCServer.messageToChannelWithMon(java.lang.String ch,
SOCMessage mes)
Send a message to the given channel WARNING: MUST HAVE THE gameList.takeMonitorForChannel(ch) before calling this method |
void |
SOCServer.messageToPlayer(StringConnection c,
SOCMessage mes)
Send a message to a player and record it |
void |
SOCServer.messageToGame(java.lang.String ga,
SOCMessage mes)
Send a message to the given game |
void |
SOCServer.messageToGameWithMon(java.lang.String ga,
SOCMessage mes)
Send a message to the given game WARNING: MUST HAVE THE gameList.takeMonitorForGame(ga) before calling this method |
void |
SOCServer.messageToGameExcept(java.lang.String gn,
java.util.Vector ex,
SOCMessage mes)
Send a message to all the connections in a game excluding some. |
void |
SOCServer.messageToGameExcept(java.lang.String gn,
StringConnection ex,
SOCMessage mes)
Send a message to all the connections in a game excluding one. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||