Class OfficialNodeClient
java.lang.Object
VASSAL.chat.node.NodeClient
VASSAL.chat.node.OfficialNodeClient
- All Implemented Interfaces:
ServerConnection
,ChatServerConnection
,LockableChatServerConnection
,SocketWatcher
,PlayerEncoder
,ChatControlsInitializer
-
Field Summary
Fields inherited from class VASSAL.chat.node.NodeClient
allRooms, checker, compressionLimit, currentRoom, defaultRoomName, encoder, host, inviteEncoder, me, moduleName, nameChangeListener, pendingSynchToRoom, playerId, playerStatusControls, port, privateChatEncoder, profileChangeListener, propSupport, roomControls, soundEncoder, synchEncoder, welcomer, ZIP_HEADER
Fields inherited from interface VASSAL.chat.ChatServerConnection
AVAILABLE_ROOMS, DEFAULT_ROOM_NAME, INCOMING_MSG, PLAYER_INFO, ROOM, STATUS, STATUS_SERVER
Fields inherited from interface VASSAL.build.module.ServerConnection
CONNECTED, CONNECTION_LOST
-
Constructor Summary
ConstructorDescriptionOfficialNodeClient
(String moduleName, String playerId, CommandEncoder encoder, String host, int port, MessageBoard msgSvr, WelcomeMessageServer welcomer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initializeControls
(ChatServerControls controls) Register all event listenersvoid
uninitializeControls
(ChatServerControls controls) Remove all previously-registered event listenersMethods inherited from class VASSAL.chat.node.NodeClient
addPropertyChangeListener, addPropertyChangeListener, checkCompatibility, checkCompatibility, cleanVersion, closeConnection, doInvite, doKick, forward, getAvailableRooms, getDefaultRoomName, getMyInfo, getRoom, getUserInfo, handleMessage, handleMessageFromServer, initializeConnection, isConnected, isDefaultRoom, isInvitable, isKickable, isOwner, lockRoom, playerToString, registerNewConnection, send, sendInvite, sendRoomInfo, sendStats, sendTo, sendToAll, sendToOthers, sendToOthers, setConnected, setDefaultRoomName, setRoom, setRoom, setUserInfo, socketClosed, stringToPlayer, updateRooms
-
Constructor Details
-
OfficialNodeClient
public OfficialNodeClient(String moduleName, String playerId, CommandEncoder encoder, String host, int port, MessageBoard msgSvr, WelcomeMessageServer welcomer)
-
-
Method Details
-
initializeControls
Description copied from interface:ChatControlsInitializer
Register all event listeners- Specified by:
initializeControls
in interfaceChatControlsInitializer
- Overrides:
initializeControls
in classNodeClient
-
uninitializeControls
Description copied from interface:ChatControlsInitializer
Remove all previously-registered event listeners- Specified by:
uninitializeControls
in interfaceChatControlsInitializer
- Overrides:
uninitializeControls
in classNodeClient
-