TTEthernet Model for INET Framework
|
Class for the critical traffic conformance check of rate-constrained traffic. More...
#include <RCIncoming.h>
Public Member Functions | |
RCIncoming () | |
Constructor. More... | |
![]() | |
Incoming () | |
Constructor. More... | |
Protected Member Functions | |
virtual void | handleMessage (cMessage *msg) |
Forwards messages arriving on in-gate to out-gate checks conformance with configured bag. More... | |
virtual void | handleParameterChange (const char *parname) |
Indicates a parameter has changed. More... | |
![]() | |
virtual void | initialize () |
Initialization of the module. More... | |
Private Attributes | |
uint64_t | lastArrived |
Saves the tickcount of the last message. More... | |
uint64_t | bag |
caches bag parameter More... | |
Additional Inherited Members | |
![]() | |
bool | hadError |
set to true if there was an error during runtime More... | |
![]() | |
static simsignal_t | ctDroppedSignal = SIMSIGNAL_NULL |
Signal that is emitted when a frame is dropped. More... | |
Class for the critical traffic conformance check of rate-constrained traffic.
This class checks whether incoming traffic was conform with the configured bag. Conform messages are forwarded from in to out
Definition at line 33 of file RCIncoming.h.
TTEthernetModel::RCIncoming::RCIncoming | ( | ) |
Constructor.
Definition at line 25 of file RCIncoming.cc.
|
protectedvirtual |
Forwards messages arriving on in-gate to out-gate checks conformance with configured bag.
msg | the incoming message |
Reimplemented from TTEthernetModel::Incoming.
Definition at line 30 of file RCIncoming.cc.
|
protectedvirtual |
Indicates a parameter has changed.
parname | Name of the changed parameter or NULL if multiple parameter changed. |
Definition at line 58 of file RCIncoming.cc.
|
private |
caches bag parameter
Definition at line 44 of file RCIncoming.h.
Referenced by handleMessage(), and handleParameterChange().
|
private |
Saves the tickcount of the last message.
Definition at line 39 of file RCIncoming.h.
Referenced by handleMessage(), and RCIncoming().