Package VASSAL.chat
Class DynamicClient
java.lang.Object
VASSAL.chat.HybridClient
VASSAL.chat.DynamicClient
- All Implemented Interfaces:
ServerConnection
,ChatServerConnection
,PlayerEncoder
,ChatControlsInitializer
Refreshes every time the user attempts to connect
- Author:
- rkinney
-
Field Summary
Fields inherited from class VASSAL.chat.HybridClient
controls, currentIcon, currentText, defaultRoom, delegate, propSupport
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected ChatServerConnection
void
setConnected
(boolean connect) Methods inherited from class VASSAL.chat.HybridClient
addPropertyChangeListener, fireStatus, getAvailableRooms, getDelegate, getRoom, getUserInfo, initializeControls, isConnected, playerToString, sendTo, sendToOthers, setDelegate, setRoom, setUserInfo, stringToPlayer, uninitializeControls, updateDisplayControls
-
Constructor Details
-
DynamicClient
public DynamicClient()
-
-
Method Details
-
buildDelegate
- Throws:
IOException
-
setConnected
public void setConnected(boolean connect) - Specified by:
setConnected
in interfaceServerConnection
- Overrides:
setConnected
in classHybridClient
-