public interface IActiveResourceStateSensor
| Modifier and Type | Method and Description |
|---|---|
void |
demandCompleted(ISchedulableProcess simProcess)
Notifies the sensor about a process whose demand has been completed by the resource.
|
void |
update(long state,
int instanceId)
Notifies the sensor about a state change of the resource.
|
void update(long state,
int instanceId)
state - the changed stateinstanceId - id of the instance whose state changedvoid demandCompleted(ISchedulableProcess simProcess)
simProcess - the process whose demand has been completed by the resource.typeID - the id of the resource