| Package | Description |
|---|---|
| org.scribble.monitor | |
| org.scribble.monitor.model |
| Modifier and Type | Method and Description |
|---|---|
static SessionInstance |
MonitorUtil.deserializeSessionInstance(byte[] instance)
This method returns the session instance of a supplied JSON representation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Monitor.initializeInstance(SessionType type,
SessionInstance instance)
This method initializes a session instance based on the supplied session type.
|
void |
DefaultMonitor.initializeInstance(SessionType type,
SessionInstance instance)
This method initializes a session instance based on the supplied session type.
|
boolean |
Monitor.received(SessionType type,
SessionInstance instance,
Message message,
String fromRole)
This method checks whether the received message is valid.
|
boolean |
DefaultMonitor.received(SessionType type,
SessionInstance instance,
Message message,
String fromRole)
This method checks whether the received message is valid.
|
boolean |
Monitor.sent(SessionType type,
SessionInstance instance,
Message message,
String toRole)
This method checks whether the sent message is valid.
|
boolean |
DefaultMonitor.sent(SessionType type,
SessionInstance instance,
Message message,
String toRole)
This method checks whether the sent message is valid.
|
static byte[] |
MonitorUtil.serializeSessionInstance(SessionInstance instance)
This method returns the JSON representation of the session instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionType.initialize(SessionInstance instance)
This method initializes the supplied session instance to monitor
against this session type.
|
Copyright © 2014. All Rights Reserved.