public class SetLock
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SetLock()
Creates new instance of command SetLock.
|
SetLock(Boolean BotServer,
Boolean ControlServer)
Creates new instance of command SetLock.
|
SetLock(SetLock original)
Cloning constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final String PROTOTYPE
protected Boolean BotServer
protected Boolean ControlServer
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
- public Boolean isBotServer()
public Boolean isControlServer()
public SetLock setControlServer(Boolean ControlServer)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.