|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.Message
madkit.strobekit.StrobeMsg
This class define the type of message exchanged by Strobe agents. A Strobe message is logically viewed as a set of four attributes (sender receiver performative content).
This class contains methods for:
String
Constructor Summary | |
StrobeMsg(java.lang.String p,
java.lang.String c)
Construt a Strobe message with the performative p and the content c . |
Method Summary | |
java.lang.String |
getContent()
Return the Strobe message content. |
java.lang.String |
getPerfo()
Return the Strobe message performative. |
java.lang.String |
toSchemeExp()
Tansform the Strobe message in a Scheme expression such as (strobemsg sender receiver performative content) . |
java.lang.String |
toString()
Return the Strobe message as a String . |
Methods inherited from class madkit.kernel.Message |
clone, getCreationDate, getReceiver, getSender |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StrobeMsg(java.lang.String p, java.lang.String c)
p
and the content c
.
Method Detail |
public java.lang.String getPerfo()
public java.lang.String getContent()
public java.lang.String toString()
String
.
public java.lang.String toSchemeExp()
(strobemsg sender receiver performative content)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |