VASSAL.build.module
Interface ServerConnection
- public interface ServerConnection
Represents the connection to a live server
|
Field Summary |
static java.lang.String |
CONNECTED
Name of the property fired when the connection is opened/clused. |
CONNECTED
public static final java.lang.String CONNECTED
- Name of the property fired when the connection is opened/clused. Value is Boolean.TRUE or Boolean.FALSE
sendToOthers
public void sendToOthers(Command c)
- Send a command to other players on the server
setConnected
public void setConnected(boolean connect)
isConnected
public boolean isConnected()
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener l)