|
| Hub (std::string name, NetworkSystem &system) |
|
| Link (std::string name, NetworkSystem &system) |
|
virtual void | enablePCAPLogging (const std::string &filename, Size snaplen=65535) final |
| Make a PCAP formatted log file. More...
|
|
virtual void | setLinkSpeed (Size bps) final |
|
virtual void | setQueueSize (Size max_queue_length) final |
|
| NetworkModule (System &system) |
|
int | connectWire (const ModuleID moduleID) |
|
size_t | getPortCount () |
|
| Module (System &system) |
| Module must belong to a System. Module is registered to a System when it is created. More...
|
|
std::string | getModuleName () |
|
std::string | getModuleName (const ModuleID moduleID) |
|
Time | getCurrentTime () |
|
|
virtual void | packetArrived (const ModuleID inWireID, Packet &&packet) |
|
virtual void | packetSent (const ModuleID wireID, Packet &&packet) |
|
virtual void | sendPacket (const ModuleID wireID, Packet &&packet) final |
|
virtual UUID | sendMessage (const ModuleID to, Module::Message message, Time timeAfter) final |
| Send a Message to other Module. Every message has its own delay before it is actually sent. The System guarantees the total ordering of all delayed messages in the System. More...
|
|
virtual UUID | sendMessageSelf (Module::Message message, Time timeAfter) final |
| Send a Message to self Every message has its own delay before it is actually sent. The System guarantees the total ordering of all delayed messages in the System. More...
|
|
virtual bool | cancelMessage (UUID messageID) final |
| Cancel the raised Message. If a message is not actually sent yet, you can cancel the message. If the message is already sent, this function has no effect. More...
|
|
|
enum | MessageType { CHECK_QUEUE
} |
|
using | Message = std::unique_ptr< MessageBase > |
|
std::unordered_map< ModuleID, Time > | nextAvailable |
|
std::unordered_map< ModuleID, std::list< Packet > > | outputQueue |
|
Size | bps |
|
Size | max_queue_length |
|
std::vector< ModuleID > | ports |
|
The documentation for this class was generated from the following files:
- include/E/Networking/E_Hub.hpp
- src/Networking/E_Hub.cpp