INET Framework for OMNeT++/OMNEST
|
#include <NetworkProtocolBase.h>
Protected Member Functions | |
NetworkProtocolBase () | |
virtual void | initialize (int stage) override |
virtual void | handleUpperCommand (cMessage *message) override |
virtual void | sendUp (cMessage *message, int transportProtocol) |
virtual void | sendDown (cMessage *message, int interfaceId=-1) |
virtual bool | isUpperMessage (cMessage *message) override |
virtual bool | isLowerMessage (cMessage *message) override |
virtual bool | isInitializeStage (int stage) override |
virtual bool | isNodeStartStage (int stage) override |
virtual bool | isNodeShutdownStage (int stage) override |
Protected Member Functions inherited from inet::LayeredProtocolBase | |
virtual void | handleMessageWhenUp (cMessage *message) override |
virtual void | handleSelfMessage (cMessage *message) |
virtual void | handleLowerCommand (cMessage *message) |
virtual void | handleUpperPacket (cPacket *packet)=0 |
virtual void | handleLowerPacket (cPacket *packet)=0 |
Protected Member Functions inherited from inet::OperationalBase | |
virtual int | numInitStages () const override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | handleMessageWhenDown (cMessage *msg) |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
virtual bool | handleNodeStart (IDoneCallback *doneCallback) |
virtual bool | handleNodeShutdown (IDoneCallback *doneCallback) |
virtual void | handleNodeCrash () |
virtual void | setOperational (bool isOperational) |
Protected Attributes | |
ProtocolMapping | protocolMapping |
IInterfaceTable * | interfaceTable |
Protected Attributes inherited from inet::OperationalBase | |
bool | isOperational |
simtime_t | lastChange |
Additional Inherited Members | |
Public Member Functions inherited from inet::OperationalBase | |
OperationalBase () | |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Static Public Attributes inherited from inet::LayeredProtocolBase | |
static simsignal_t | packetSentToUpperSignal = registerSignal("packetSentToUpper") |
static simsignal_t | packetReceivedFromUpperSignal = registerSignal("packetReceivedFromUpper") |
static simsignal_t | packetFromUpperDroppedSignal = registerSignal("packetFromUpperDropped") |
static simsignal_t | packetSentToLowerSignal = registerSignal("packetSentToLower") |
static simsignal_t | packetReceivedFromLowerSignal = registerSignal("packetReceivedFromLower") |
static simsignal_t | packetFromLowerDroppedSignal = registerSignal("packetFromLowerDropped") |
|
protected |
|
overrideprotectedvirtual |
Reimplemented from inet::LayeredProtocolBase.
|
overrideprotectedvirtual |
Reimplemented from inet::OperationalBase.
Reimplemented in inet::Flood, inet::WiseRoute, inet::ProbabilisticBroadcast, and inet::AdaptiveProbabilisticBroadcast.
Referenced by inet::ProbabilisticBroadcast::initialize(), inet::WiseRoute::initialize(), and inet::Flood::initialize().
|
inlineoverrideprotectedvirtual |
Implements inet::OperationalBase.
|
overrideprotectedvirtual |
Implements inet::LayeredProtocolBase.
|
inlineoverrideprotectedvirtual |
Implements inet::OperationalBase.
|
inlineoverrideprotectedvirtual |
Implements inet::OperationalBase.
|
overrideprotectedvirtual |
Implements inet::LayeredProtocolBase.
|
protectedvirtual |
Referenced by inet::Flood::handleLowerPacket(), inet::WiseRoute::handleLowerPacket(), inet::ProbabilisticBroadcast::handleSelfMessage(), inet::WiseRoute::handleSelfMessage(), inet::Flood::handleUpperPacket(), and inet::WiseRoute::handleUpperPacket().
|
protectedvirtual |
Referenced by inet::ProbabilisticBroadcast::handleLowerPacket(), inet::Flood::handleLowerPacket(), and inet::WiseRoute::handleLowerPacket().
|
protected |
|
protected |
Referenced by handleUpperCommand(), and sendUp().