KENSv3
KAIST Educational Network System
Public Member Functions | Protected Member Functions | List of all members
E::Hub Class Reference
Inheritance diagram for E::Hub:
E::Link E::NetworkModule E::NetworkLog E::Module

Public Member Functions

 Hub (std::string name, NetworkSystem &system)
 
- Public Member Functions inherited from E::NetworkModule
 NetworkModule (System &system)
 
int connectWire (const ModuleID moduleID)
 
size_t getPortCount ()
 
- Public Member Functions inherited from E::Module
 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 ()
 

Protected Member Functions

virtual void packetArrived (const ModuleID inWireID, Packet &&packet)
 
- Protected Member Functions inherited from E::Module
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...
 

Additional Inherited Members

- Public Types inherited from E::Module
using Message = std::unique_ptr< MessageBase >
 
- Protected Attributes inherited from E::NetworkModule
std::vector< ModuleID > ports
 

The documentation for this class was generated from the following files: