|
INET Framework for OMNeT++/OMNEST
|
Implementation of MatrixCloudDelayer. More...
#include <MatrixCloudDelayer.h>
Classes | |
| class | Descriptor |
| class | Matcher |
| class | MatrixEntry |
Protected Types | |
| typedef std::pair< int, int > | IDPair |
| typedef std::map< IDPair, Descriptor > | IDPairToDescriptorMap |
| typedef std::vector< MatrixEntry * > | MatrixEntryPtrVector |
Protected Member Functions | |
| virtual | ~MatrixCloudDelayer () |
| virtual int | numInitStages () const override |
| virtual void | initialize (int stage) override |
| virtual void | calculateDropAndDelay (const cMessage *msg, int srcID, int destID, bool &outDrop, simtime_t &outDelay) override |
| returns isDrop and delay for this msg More... | |
| MatrixCloudDelayer::Descriptor * | getOrCreateDescriptor (int srcID, int destID) |
| std::string | getPathOfConnectedNodeOnIfaceID (int id) |
| returns path of connected node for the interface specified by 'id' More... | |
Protected Member Functions inherited from inet::CloudDelayerBase | |
| virtual void | finish () override |
| virtual void | handleMessage (cMessage *msg) override |
| virtual INetfilter::IHook::Result | datagramPreRoutingHook (INetworkDatagram *datagram, const InterfaceEntry *inputInterfaceEntry, const InterfaceEntry *&outputInterfaceEntry, L3Address &nextHopAddress) override |
| This is the first hook called by the network protocol before it routes a datagram that was received from the lower layer. More... | |
| virtual INetfilter::IHook::Result | datagramForwardHook (INetworkDatagram *datagram, const InterfaceEntry *inputInterfaceEntry, const InterfaceEntry *&outputInterfaceEntry, L3Address &nextHopAddress) override |
| This is the second hook called by the network protocol before it sends a datagram to the lower layer. More... | |
| virtual INetfilter::IHook::Result | datagramPostRoutingHook (INetworkDatagram *datagram, const InterfaceEntry *inputInterfaceEntry, const InterfaceEntry *&outputInterfaceEntry, L3Address &nextHopAddress) override |
| This is the last hook called by the network protocol before it sends a datagram to the lower layer. More... | |
| virtual INetfilter::IHook::Result | datagramLocalInHook (INetworkDatagram *datagram, const InterfaceEntry *inputInterfaceEntry) override |
| This is the last hook called by the network protocol before it sends a datagram to the upper layer. More... | |
| virtual INetfilter::IHook::Result | datagramLocalOutHook (INetworkDatagram *datagram, const InterfaceEntry *&outputInterfaceEntry, L3Address &nextHopAddress) override |
| This is the first hook called by the network protocol before it routes a datagram that was received from the upper layer. More... | |
Protected Attributes | |
| MatrixEntryPtrVector | matrixEntries |
| IDPairToDescriptorMap | idPairToDescriptorMap |
| IInterfaceTable * | ift = nullptr |
| cModule * | host = nullptr |
Protected Attributes inherited from inet::CloudDelayerBase | |
| IPv4 * | ipv4Layer |
Additional Inherited Members | |
Public Types inherited from inet::INetfilter::IHook | |
| enum | Type { PREROUTING, LOCALIN, FORWARD, POSTROUTING, LOCALOUT } |
| enum | Result { ACCEPT, DROP, QUEUE, STOLEN } |
Public Member Functions inherited from inet::CloudDelayerBase | |
| CloudDelayerBase () | |
| ~CloudDelayerBase () | |
Public Member Functions inherited from inet::INetfilter::IHook | |
| virtual | ~IHook () |
Implementation of MatrixCloudDelayer.
See NED file for details.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
overrideprotectedvirtual |
returns isDrop and delay for this msg
Reimplemented from inet::CloudDelayerBase.
|
protected |
Referenced by calculateDropAndDelay().
|
protected |
returns path of connected node for the interface specified by 'id'
Referenced by getOrCreateDescriptor().
|
overrideprotectedvirtual |
Reimplemented from inet::CloudDelayerBase.
|
inlineoverrideprotectedvirtual |
Reimplemented from inet::CloudDelayerBase.
|
protected |
Referenced by getPathOfConnectedNodeOnIfaceID(), and initialize().
|
protected |
Referenced by getOrCreateDescriptor().
|
protected |
Referenced by getPathOfConnectedNodeOnIfaceID(), and initialize().
|
protected |
Referenced by getOrCreateDescriptor(), initialize(), and ~MatrixCloudDelayer().