explorer
explorer

Reputation: 113

How omnet process messages from future event set?

Omnet use future event set queue for sending messages in certain time during simulation. I am trying to fully understand how omnet works so I have two questions related to FES.

Thx

Upvotes: 1

Views: 403

Answers (1)

Rudi
Rudi

Reputation: 6681

  • No. FES contains all messages and events. Self messages and messages to other modules are also stored in the FES.
  • scheduleAt() is for scheduling a self message, so the target module is the module that actually calls the function. Each cMessage object contain a targetModuleId that determines, where the message will be delivered.

Upvotes: 3

Related Questions