public interface ScheduledProcess extends Identifiable<ProcessIdentifier>, Callable<Timestamp>, Comparable<ScheduledProcess>
Process
scheduled by a platform process controller.
Scheduled processes can be scheduled in simulation as well as operation mode.SimulationProcess
Modifier and Type | Method and Description |
---|---|
void |
addEvent(Event event)
Adds an event for handling by this process.
|
boolean |
affectedByEvent(Event event)
Indicates whether the given event affects this process.
|
int |
compareTo(ScheduledProcess other)
Compares this object with the specified other object for order.
|
boolean |
hasTerminated()
Indicates whether this process has terminated.
|
void |
setMessageService(MessageTransportService mts)
Sets the service for message transport to be used by this process.
|
getIdentifier
void setMessageService(MessageTransportService mts)
mts
- The Message Transport service (MTS)void addEvent(Event event)
event
- The event to addedboolean affectedByEvent(Event event)
event
- The event to be checked by the scheduled processboolean hasTerminated()
true
if the process has terminated, false
otherwiseint compareTo(ScheduledProcess other)
ProcessIdentifier
s.compareTo
in interface Comparable<ScheduledProcess>
other
- The other processCopyright © Aimpulse Intelligent Systems GmbH
All rights reserved.