|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.cAgents.State
es.upv.dsic.gti_ia.cAgents.SendState
public class SendState
This class represents a send state during an interaction protocol. When a conversation reaches this state it executes the state's method.
| Constructor Summary | |
|---|---|
SendState(String n)
Creates a new send state |
|
| Method Summary | |
|---|---|
ACLMessage |
getMessageTemplate()
Returns the message that will be sent by this state |
SendStateMethod |
getMethod()
Returns the method assigned to this state by the setMethod() function |
void |
setMessageTemplate(ACLMessage mt)
Sets the message that will be sent by this state |
void |
setMethod(SendStateMethod method)
Set the method that will be executed when a conversation reaches this state |
| Methods inherited from class es.upv.dsic.gti_ia.cAgents.State |
|---|
clone, getName, setName, setType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendState(String n)
name - of the state| Method Detail |
|---|
public void setMessageTemplate(ACLMessage mt)
mt - messageToSendpublic ACLMessage getMessageTemplate()
public void setMethod(SendStateMethod method)
The - method of this statepublic SendStateMethod getMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||