public class Receive extends MessageNode
_nameSessions| Constructor and Description |
|---|
Receive() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFromRole()
This method returns the 'from' role.
|
boolean |
received(SessionType type,
SessionScope scope,
int scopeIndex,
Message message,
String fromRole)
This method checks whether the sent message is valid.
|
void |
setFromRole(String role)
This method sets the 'from' role.
|
checkMessage, getOperator, getTypes, setOperator, setTypespublic void setFromRole(String role)
role - The 'from' rolepublic String getFromRole()
public boolean received(SessionType type, SessionScope scope, int scopeIndex, Message message, String fromRole)
Copyright © 2014. All Rights Reserved.