Package VASSAL.chat
Class DynamicClient
java.lang.Object
VASSAL.chat.HybridClient
VASSAL.chat.DynamicClient
- All Implemented Interfaces:
ServerConnection
,ChatServerConnection
,PlayerEncoder
,ChatControlsInitializer
- Direct Known Subclasses:
NodeHybridClient
public class DynamicClient extends HybridClient
Determines server implementation at run-time by downloading properties from the vassalengine.org site. Refreshes
every time the user attempts to connect
- Author:
- rkinney
-
Field Summary
Fields Modifier and Type Field Description static String
JABBER_URL
static String
LEGACY_URL
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
-
Constructor Summary
Constructors Constructor Description DynamicClient()
DynamicClient(String serverConfigURL)
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and Type Method Description protected ChatServerConnection
buildDelegate()
void
setConnected(boolean connect)
void
setOverrides(Properties override)
Deprecated.method does nothing and will be removedMethods inherited from class VASSAL.chat.HybridClient
addPropertyChangeListener, fireStatus, getAvailableRooms, getDelegate, getRoom, getUserInfo, initializeControls, isConnected, playerToString, sendTo, sendToOthers, setDelegate, setRoom, setUserInfo, stringToPlayer, uninitializeControls, updateDisplayControls
-
Field Details
-
LEGACY_URL
- See Also:
- Constant Field Values
-
JABBER_URL
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DynamicClient
public DynamicClient() -
DynamicClient
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
buildDelegate
- Throws:
IOException
-
setConnected
public void setConnected(boolean connect)- Specified by:
setConnected
in interfaceServerConnection
- Overrides:
setConnected
in classHybridClient
-
setOverrides
Deprecated.method does nothing and will be removed
-