Magentix2
2.1.1
|
Public Member Functions | |
ReceiveState (String n) | |
void | setAcceptFilter (MessageFilter filter) |
MessageFilter | getAcceptFilter () |
void | setMethod (ReceiveStateMethod method) |
ReceiveStateMethod | getMethod () |
This class represents a receive state during an interaction protocol. When a conversation reaches this state it executes the state's method.
Definition at line 12 of file ReceiveState.java.
Creates a new receive state
name | of the state |
Definition at line 21 of file ReceiveState.java.
Returns the message filter
Definition at line 38 of file ReceiveState.java.
{
return acceptFilter;
}
Returns the method assigned to this state by the setMethod() function
Definition at line 54 of file ReceiveState.java.
{
return methodToRun;
}
Set the message filter
filter |
Definition at line 30 of file ReceiveState.java.
{ acceptFilter = filter; }
Set the method that will be executed when a conversation reaches this state
The | method of this state |
Definition at line 46 of file ReceiveState.java.
{ methodToRun = method; }