class Sender {
public:
explicit Sender() = default;
explicit Sender(std::vector<std::string> args)
{
if (args.size() > 0)
msg = args[0];
}
void operator()()
{
XBT_INFO(
"Hello s4u, I have something to send");
}
};
class Receiver {
public:
explicit Receiver() = default;
explicit Receiver(std::vector<std::string> args)
{
if (args.size() > 1)
}
void operator()()
{
XBT_INFO(
"Hello s4u, I'm ready to get any message you'd want on %s", mailbox->name());
XBT_INFO(
"I received '%s' and '%s'", msg1, msg2);
}
};
{
std::vector<std::string> args;
args.push_back("GloubiBoulga");
return 0;
}