|
||||||||||
| 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.udk.communication.messages.gbcommands.SetLock
public class 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. Corresponding GameBots command is SETLOCK.
| Field Summary | |
|---|---|
protected boolean |
BotServer
If BotConnections should be locked. |
protected boolean |
ControlServer
If ControlConnections (server connections) should be locked. |
| 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 |
|---|
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)
| Method Detail |
|---|
public boolean isBotServer()
public SetLock setBotServer(boolean BotServer)
public boolean isControlServer()
public SetLock setControlServer(boolean ControlServer)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||