|
|||||||||
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.Record
public class Record
Representation of the GameBots2004 command REC. Server will start recording demo of current game. Command is confirmed by RECSTART message.
Field Summary | |
---|---|
protected java.lang.String |
FileName
Name of the saved demo file. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
Record()
Creates new instance of command Record. |
|
Record(Record original)
Cloning constructor. |
|
Record(java.lang.String FileName)
Creates new instance of command Record. |
Method Summary | |
---|---|
java.lang.String |
getFileName()
Name of the saved demo file. |
Record |
setFileName(java.lang.String FileName)
Name of the saved demo file. |
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.String FileName
Constructor Detail |
---|
public Record(java.lang.String FileName)
FileName
- Name of the saved demo file. The file will be located on the
server.public Record()
public Record(Record original)
original
- Method Detail |
---|
public java.lang.String getFileName()
public Record setFileName(java.lang.String FileName)
public java.lang.String toString()
toString
in class CommandMessage
public 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 |