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 StringJABBER_URLstatic StringLEGACY_URLFields inherited from class VASSAL.chat.HybridClient
controls, currentIcon, currentText, defaultRoom, delegate, propSupportFields inherited from interface VASSAL.chat.ChatServerConnection
AVAILABLE_ROOMS, DEFAULT_ROOM_NAME, INCOMING_MSG, PLAYER_INFO, ROOM, STATUS, STATUS_SERVERFields 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 ChatServerConnectionbuildDelegate()voidsetConnected(boolean connect)voidsetOverrides(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:
setConnectedin interfaceServerConnection- Overrides:
setConnectedin classHybridClient
-
setOverrides
Deprecated.method does nothing and will be removed
-