|
||||||||||
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.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.DialogCommand
public class DialogCommand
Definition of the event DLGCMD.
Complete message documentation: Asynchronous message. Message with data from dialog.
Field Summary | |
---|---|
protected String |
Command
Type of the command. |
protected String |
Data
Data carried in the message, usually in form "param1=value1¶m2=value2&... |
protected String |
Id
Id of the dialog for with which is this command related to. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected long |
SimTime
|
protected String |
SourceId
Id of the component from where the command originates. |
Constructor Summary | |
---|---|
DialogCommand()
Parameter-less contructor for the message. |
|
DialogCommand(DialogCommand original)
Cloning constructor from the full message. |
|
DialogCommand(String Id,
String SourceId,
String Command,
String Data)
Creates new instance of the message DialogCommand. |
Method Summary | |
---|---|
String |
getCommand()
Type of the command. |
String |
getData()
Data carried in the message, usually in form "param1=value1¶m2=value2&... |
String |
getId()
Id of the dialog for with which is this command related to. |
long |
getSimTime()
Simulation time in MILLI SECONDS !!! |
String |
getSourceId()
Id of the component from where the command originates. |
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toJsonLiteral()
|
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 long SimTime
protected String Id
protected String SourceId
protected String Command
protected String Data
Constructor Detail |
---|
public DialogCommand()
public DialogCommand(String Id, String SourceId, String Command, String Data)
Id
- Id of the dialog for with which is this command related to.SourceId
- Id of the component from where the command originates.Command
- Type of the command. SUBMIT and CANCEL carry the data.Data
- Data carried in the message, usually in form "param1=value1¶m2=value2&...¶mN=valueN", equals, ampersands and backslashes are escaped by backslash.public DialogCommand(DialogCommand original)
original
- Method Detail |
---|
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
protected void setSimTime(long SimTime)
public String getId()
public String getSourceId()
public String getCommand()
public String getData()
public String toString()
toString
in class InfoMessage
public String toHtmlString()
public String toJsonLiteral()
toJsonLiteral
in class InfoMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |