|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetLock
public class SetLock
Representation of the GameBots2004 command SETLOCK. Will disable new connections to bot server and or control server - depends on parameters. If last ControlServer instance is leaving. ControlServer lock will be canceled.
Field Summary | |
---|---|
protected Boolean |
BotServer
If BotConnections should be locked. |
protected Boolean |
ControlServer
If ControlConnections (server connections) should be locked. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
SetLock()
Creates new instance of command SetLock. |
|
SetLock(Boolean BotServer,
Boolean ControlServer)
Creates new instance of command SetLock. |
|
SetLock(SetLock original)
Cloning constructor. |
Method Summary | |
---|---|
Boolean |
isBotServer()
If BotConnections should be locked. |
Boolean |
isControlServer()
If ControlConnections (server connections) should be locked. |
SetLock |
setBotServer(Boolean BotServer)
If BotConnections should be locked. |
SetLock |
setControlServer(Boolean ControlServer)
If ControlConnections (server connections) should be locked. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected Boolean BotServer
protected Boolean ControlServer
Constructor Detail |
---|
public SetLock(Boolean BotServer, Boolean ControlServer)
BotServer
- If BotConnections should be locked.ControlServer
- If ControlConnections (server connections) should be locked.public SetLock()
public SetLock(SetLock original)
original
- Method Detail |
---|
public Boolean isBotServer()
public SetLock setBotServer(Boolean BotServer)
public Boolean isControlServer()
public SetLock setControlServer(Boolean ControlServer)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |