Alarm.h
36 static std::shared_ptr<Alarm> createAndStartAlarm(Simulation *simulation, double date, std::string hostname, std::string &reply_mailbox_name,
static std::shared_ptr< Alarm > createAndStartAlarm(Simulation *simulation, double date, std::string hostname, std::string &reply_mailbox_name, SimulationMessage *msg, std::string suffix)
Create and start an alarm service.
Definition: Alarm.cpp:84
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:47
A one-shot service that sends a message to a mailbox after some specified amount of time and terminat...
Definition: Alarm.h:30
Simulation * simulation
a pointer to the simulation object
Definition: S4U_Daemon.h:84
void kill()
Immediately (i.e., brutally) terminate the alarm service.
Definition: Alarm.cpp:100
A generic "running daemon" abstraction that serves as a basis for all simulated processes.
Definition: S4U_Daemon.h:32
Definition: TerminalOutput.cpp:15