|
|||||||||
| 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 java.lang.Boolean |
BotServer
If BotConnections should be locked. |
protected java.lang.Boolean |
ControlServer
If ControlConnections (server connections) should be locked. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
SetLock()
Creates new instance of command SetLock. |
|
SetLock(java.lang.Boolean BotServer,
java.lang.Boolean ControlServer)
Creates new instance of command SetLock. |
|
SetLock(SetLock original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
isBotServer()
If BotConnections should be locked. |
java.lang.Boolean |
isControlServer()
If ControlConnections (server connections) should be locked. |
SetLock |
setBotServer(java.lang.Boolean BotServer)
If BotConnections should be locked. |
SetLock |
setControlServer(java.lang.Boolean ControlServer)
If ControlConnections (server connections) should be locked. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROTOTYPE
protected java.lang.Boolean BotServer
protected java.lang.Boolean ControlServer
| Constructor Detail |
|---|
public SetLock(java.lang.Boolean BotServer,
java.lang.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 java.lang.Boolean isBotServer()
public SetLock setBotServer(java.lang.Boolean BotServer)
public java.lang.Boolean isControlServer()
public SetLock setControlServer(java.lang.Boolean ControlServer)
public java.lang.String toString()
toString in class CommandMessagepublic java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||