S4U_Mailbox.h
40 static std::shared_ptr<S4U_PendingCommunication> iputMessage(std::string mailbox_name, SimulationMessage *msg);
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
static std::string generateUniqueMailboxName(std::string)
Generate a unique mailbox name given a prefix (this method simply appends an increasing sequence numb...
Definition: S4U_Mailbox.cpp:246
static unsigned long generateUniqueSequenceNumber()
Generate a unique sequence number.
Definition: S4U_Mailbox.cpp:233
static std::shared_ptr< SimulationMessage > getMessage(std::string mailbox)
Synchronously receive a message from a mailbox.
Definition: S4U_Mailbox.cpp:43
static std::shared_ptr< S4U_PendingCommunication > igetMessage(std::string mailbox_name)
Asynchronously receive a message from a mailbox.
Definition: S4U_Mailbox.cpp:207
static void dputMessage(std::string mailbox_name, SimulationMessage *msg)
Asynchronously send a message to a mailbox in a "fire and forget" fashion.
Definition: S4U_Mailbox.cpp:137
static void putMessage(std::string mailbox, SimulationMessage *m)
Synchronously send a message to a mailbox.
Definition: S4U_Mailbox.cpp:110
static std::shared_ptr< S4U_PendingCommunication > iputMessage(std::string mailbox_name, SimulationMessage *msg)
Asynchronously send a message to a mailbox.
Definition: S4U_Mailbox.cpp:172
Definition: Alarm.cpp:19