|
||||||||||
| 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.ControlMessage
public class ControlMessage
Definition of the event CTRLMSG.
Complete message documentation: Asynchronous message passing some control message.
| Field Summary | |
|---|---|
protected Boolean |
PB1
Param Boolean 1 |
protected Boolean |
PB2
Param Boolean 2 |
protected Boolean |
PB3
Param Boolean 3 |
protected Double |
PF1
Param Double 1 |
protected Double |
PF2
Param Double 2 |
protected Double |
PF3
Param Double 3 |
protected Integer |
PI1
Param Integer 1 |
protected Integer |
PI2
Param Integer 2 |
protected Integer |
PI3
Param Integer 3 |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected String |
PS1
Param String 1 |
protected String |
PS2
Param String 2 |
protected String |
PS3
Param String 3 |
protected long |
SimTime
|
protected String |
Type
Custom type of the message. |
| Constructor Summary | |
|---|---|
ControlMessage()
Parameter-less contructor for the message. |
|
ControlMessage(ControlMessage original)
Cloning constructor from the full message. |
|
ControlMessage(String Type,
String PS1,
String PS2,
String PS3,
Integer PI1,
Integer PI2,
Integer PI3,
Double PF1,
Double PF2,
Double PF3,
Boolean PB1,
Boolean PB2,
Boolean PB3)
Creates new instance of the message ControlMessage. |
|
| Method Summary | |
|---|---|
Double |
getPF1()
Param Double 1 |
Double |
getPF2()
Param Double 2 |
Double |
getPF3()
Param Double 3 |
Integer |
getPI1()
Param Integer 1 |
Integer |
getPI2()
Param Integer 2 |
Integer |
getPI3()
Param Integer 3 |
String |
getPS1()
Param String 1 |
String |
getPS2()
Param String 2 |
String |
getPS3()
Param String 3 |
long |
getSimTime()
Simulation time in MILLI SECONDS !!! |
String |
getType()
Custom type of the message. |
Boolean |
isPB1()
Param Boolean 1 |
Boolean |
isPB2()
Param Boolean 2 |
Boolean |
isPB3()
Param Boolean 3 |
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 Type
protected String PS1
protected String PS2
protected String PS3
protected Integer PI1
protected Integer PI2
protected Integer PI3
protected Double PF1
protected Double PF2
protected Double PF3
protected Boolean PB1
protected Boolean PB2
protected Boolean PB3
| Constructor Detail |
|---|
public ControlMessage()
public ControlMessage(String Type,
String PS1,
String PS2,
String PS3,
Integer PI1,
Integer PI2,
Integer PI3,
Double PF1,
Double PF2,
Double PF3,
Boolean PB1,
Boolean PB2,
Boolean PB3)
Type - Custom type of the message.PS1 - Param String 1PS2 - Param String 2PS3 - Param String 3PI1 - Param Integer 1PI2 - Param Integer 2PI3 - Param Integer 3PF1 - Param Double 1PF2 - Param Double 2PF3 - Param Double 3PB1 - Param Boolean 1PB2 - Param Boolean 2PB3 - Param Boolean 3public ControlMessage(ControlMessage original)
original - | Method Detail |
|---|
public long getSimTime()
getSimTime in interface IWorldChangeEventgetSimTime in interface IWorldEventprotected void setSimTime(long SimTime)
public String getType()
public String getPS1()
public String getPS2()
public String getPS3()
public Integer getPI1()
public Integer getPI2()
public Integer getPI3()
public Double getPF1()
public Double getPF2()
public Double getPF3()
public Boolean isPB1()
public Boolean isPB2()
public Boolean isPB3()
public String toString()
toString in class InfoMessagepublic 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 | |||||||||