|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.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 java.lang.String |
Command
Type of the command. |
protected java.lang.String |
Data
Data carried in the message, usually in form "param1=value1¶m2=value2&...¶mN=valueN", equals, ampersands and backslashes are escaped by backslash. |
protected java.lang.String |
Id
Id of the dialog for with which is this command related to. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected long |
SimTime
|
protected java.lang.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(java.lang.String Id,
java.lang.String SourceId,
java.lang.String Command,
java.lang.String Data)
Creates new instance of the message DialogCommand. |
Method Summary | |
---|---|
java.lang.String |
getCommand()
Type of the command. |
java.lang.String |
getData()
Data carried in the message, usually in form "param1=value1¶m2=value2&...¶mN=valueN", equals, ampersands and backslashes are escaped by backslash. |
java.lang.String |
getId()
Id of the dialog for with which is this command related to. |
long |
getSimTime()
Returns the simulation time when the event has occurred. |
java.lang.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. |
java.lang.String |
toHtmlString()
|
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 long SimTime
protected java.lang.String Id
protected java.lang.String SourceId
protected java.lang.String Command
protected java.lang.String Data
Constructor Detail |
---|
public DialogCommand()
public DialogCommand(java.lang.String Id, java.lang.String SourceId, java.lang.String Command, java.lang.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()
IWorldEvent
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
protected void setSimTime(long SimTime)
public java.lang.String getId()
public java.lang.String getSourceId()
public java.lang.String getCommand()
public java.lang.String getData()
public java.lang.String toString()
toString
in class InfoMessage
public java.lang.String toHtmlString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |