Package host.anzo.simon
Class SequenceMonitor
java.lang.Object
host.anzo.simon.Monitor
host.anzo.simon.SequenceMonitor
A simple monitor class whose instance can have a sequence id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intReturns the associated sequence idMethods inherited from class host.anzo.simon.Monitor
reset, signal, waitForSignal
-
Constructor Details
-
SequenceMonitor
protected SequenceMonitor(int sequenceId) Creates a monitor object- Parameters:
sequenceId- the associated sequence id
-
-
Method Details
-
getSequenceId
protected int getSequenceId()Returns the associated sequence id- Returns:
- the id
-