public interface Monitor
| Modifier and Type | Method and Description |
|---|---|
void |
initializeInstance(SessionType type,
SessionInstance instance)
This method initializes a session instance based on the supplied session type.
|
boolean |
received(SessionType type,
SessionInstance instance,
Message message,
String fromRole)
This method checks whether the received message is valid.
|
boolean |
sent(SessionType type,
SessionInstance instance,
Message message,
String toRole)
This method checks whether the sent message is valid.
|
void initializeInstance(SessionType type, SessionInstance instance)
type - The session typeinstance - The session instanceboolean sent(SessionType type, SessionInstance instance, Message message, String toRole)
type - The session typeinstance - The session instancemessage - The messagetoRole - The optional 'to' roleboolean received(SessionType type, SessionInstance instance, Message message, String fromRole)
type - The session typeinstance - The session instancemessage - The messagefromRole - The optional 'from' roleCopyright © 2014. All Rights Reserved.