INET Framework for OMNeT++/OMNEST
inet::queueing::PacketFlowBase Class Referenceabstract

#include <PacketFlowBase.h>

Inheritance diagram for inet::queueing::PacketFlowBase:
inet::queueing::PacketProcessorBase inet::queueing::IPacketFlow inet::queueing::IPacketCollection inet::queueing::IPacketProcessor inet::StringFormat::IDirectiveResolver inet::queueing::IPacketSink inet::queueing::IPacketSource inet::queueing::IPassivePacketSink inet::queueing::IActivePacketSink inet::queueing::IPassivePacketSource inet::queueing::IActivePacketSource inet::CrcInserterBase inet::EthernetAddressInserter inet::EthernetMacHeaderInserter inet::EthernetSocketCommandProcessor inet::EthernetTypeOrLengthInserter inet::FcsInserterBase inet::FragmentNumberHeaderChecker inet::FragmentNumberHeaderInserter inet::Ieee8021aeTagEpdHeaderInserter inet::Ieee8021qSocketCommandProcessor inet::Ieee8021qTagEpdHeaderInserter inet::Ieee8021qTagTpidHeaderInserter inet::Ieee8021rTagEpdHeaderInserter inet::Ieee8022LlcInserter inet::Ieee8022LlcSocketCommandProcessor inet::Ieee8022SnapInserter inet::PacketDeserializer inet::PacketDirectionReverser inet::PacketEmitter inet::PacketSerializer inet::PaddingInserter inet::physicallayer::EthernetFragmentPhyHeaderInserter inet::physicallayer::EthernetPhyHeaderInserter inet::queueing::FlowMeasurementRecorder inet::queueing::FlowMeasurementStarter inet::queueing::PacketGateBase inet::queueing::PacketMarkerBase inet::queueing::PacketMeterBase inet::RelayInterfaceLearner inet::SendToL3Address inet::SendToMacAddress inet::SendToPort inet::SendWithAcknowledge inet::SendWithHopLimit inet::SendWithProtocol inet::SequenceNumbering inet::StreamDecoder inet::StreamEncoder inet::StreamIdentifier inet::VlanReqMapper

Public Member Functions

virtual IPassivePacketSinkgetConsumer (cGate *gate) override
 Returns the passive packet sink where packets are pushed or nullptr if the connected module doesn't implement the interface. More...
 
virtual IPassivePacketSourcegetProvider (cGate *gate) override
 Returns the passive packet source from where packets are pulled or nullptr if the connected module doesn't implement the interface. More...
 
virtual bool supportsPacketPushing (cGate *gate) const override
 Returns true if the processor supports pushing packets at the given gate. More...
 
virtual bool supportsPacketPulling (cGate *gate) const override
 Returns true if the processor supports pulling packets at the given gate. More...
 
virtual bool supportsPacketStreaming (cGate *gate) const override
 Returns true if the processor supports streaming packets at the given gate. More...
 
virtual bool canPushSomePacket (cGate *gate) const override
 Returns false if the packet sink is full at the given gate and no more packets can be pushed into it without raising an error. More...
 
virtual bool canPushPacket (Packet *packet, cGate *gate) const override
 Returns true if the given packet can be pushed at the given gate into the packet sink without raising an error. More...
 
virtual void pushPacket (Packet *packet, cGate *gate) override
 Pushes the packet into the packet sink at the given gate. More...
 
virtual void pushPacketStart (Packet *packet, cGate *gate, bps datarate) override
 Starts pushing the packet into the packet sink at the given gate. More...
 
virtual void pushPacketEnd (Packet *packet, cGate *gate) override
 Ends pushing the packet into the packet sink at the given gate. More...
 
virtual void pushPacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength=b(0)) override
 Progresses pushing the packet into the packet sink at the given gate. More...
 
virtual void handleCanPushPacketChanged (cGate *gate) override
 Notifies about a change in the possibility of pushing some packet into the passive packet sink at the given gate. More...
 
virtual void handlePushPacketProcessed (Packet *packet, cGate *gate, bool successful) override
 Notifies about the completion of the packet processing for a packet that was pushed earlier independently whether the packet is passed or streamed. More...
 
virtual bool canPullSomePacket (cGate *gate) const override
 Returns false if the packet source is empty at the given gate and no more packets can be pulled from it without raising an error. More...
 
virtual PacketcanPullPacket (cGate *gate) const override
 Returns the packet that can be pulled at the given gate. More...
 
virtual PacketpullPacket (cGate *gate) override
 Pulls the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketStart (cGate *gate, bps datarate) override
 Starts pulling the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketEnd (cGate *gate) override
 Ends pulling the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketProgress (cGate *gate, bps datarate, b position, b extraProcessableLength) override
 Progresses pulling the packet from the packet source at the given gate. More...
 
virtual void handleCanPullPacketChanged (cGate *gate) override
 Notifies about a change in the possibility of pulling some packet from the passive packet source at the given gate. More...
 
virtual void handlePullPacketProcessed (Packet *packet, cGate *gate, bool successful) override
 Notifies about the completion of the packet processing for a packet that was pulled earlier independently whether the packet is passed or streamed. More...
 
virtual int getMaxNumPackets () const override
 Returns maximum allowed number of packets in the collection. More...
 
virtual int getNumPackets () const override
 Returns the number of available packets in the collection in the range [0, inf). More...
 
virtual b getMaxTotalLength () const override
 Returns maximum allowed total length of all packets in the collection. More...
 
virtual b getTotalLength () const override
 Returns the total length of all packets in the collection in the range [0, inf). More...
 
virtual PacketgetPacket (int index) const override
 Returns the packet at the given index. More...
 
virtual bool isEmpty () const override
 Returns true if there are no packets available in the collection. More...
 
virtual void removePacket (Packet *packet) override
 Removes a packet from the collection. More...
 
virtual void removeAllPackets () override
 Removes all packets from the collection. More...
 
- Public Member Functions inherited from inet::queueing::PacketProcessorBase
virtual bool supportsPacketSending (cGate *gate) const override
 Returns true if the processor supports sending packets at the given gate. More...
 
virtual bool supportsPacketPassing (cGate *gate) const override
 Returns true if the processor supports passing packets as a whole at the given gate. More...
 
virtual const char * resolveDirective (char directive) const override
 
- Public Member Functions inherited from inet::queueing::IPacketProcessor
virtual ~IPacketProcessor ()
 
- Public Member Functions inherited from inet::queueing::IPassivePacketSink
virtual ~IPassivePacketSink ()
 
- Public Member Functions inherited from inet::queueing::IActivePacketSink
virtual ~IActivePacketSink ()
 
- Public Member Functions inherited from inet::queueing::IPassivePacketSource
virtual ~IPassivePacketSource ()
 
- Public Member Functions inherited from inet::queueing::IActivePacketSource
virtual ~IActivePacketSource ()
 

Protected Member Functions

virtual void initialize (int stage) override
 
virtual void handleMessage (cMessage *message) override
 
virtual void processPacket (Packet *packet)=0
 
virtual bool isStreamingPacket () const
 
virtual void startPacketStreaming (Packet *packet)
 
virtual void endPacketStreaming (Packet *packet)
 
virtual void checkPacketStreaming (Packet *packet)
 
- Protected Member Functions inherited from inet::queueing::PacketProcessorBase
virtual int numInitStages () const override
 
virtual void refreshDisplay () const override
 
virtual void handlePacketProcessed (Packet *packet)
 
virtual void checkPacketOperationSupport (cGate *gate) const
 
virtual void checkPacketOperationSupport (cGate *startGate, cGate *endGate) const
 
virtual void animate (Packet *packet, cGate *gate, const SendOptions &sendOptions, Action action) const
 
virtual void animatePacket (Packet *packet, cGate *gate, Action action) const
 
virtual void animatePacketStart (Packet *packet, cGate *gate, bps datarate, long transmissionId, Action action) const
 
virtual void animatePacketStart (Packet *packet, cGate *gate, bps datarate, const SendOptions &sendOptions, Action action) const
 
virtual void animatePacketEnd (Packet *packet, cGate *gate, long transmissionId, Action action) const
 
virtual void animatePacketEnd (Packet *packet, cGate *gate, const SendOptions &sendOptions, Action action) const
 
virtual void animatePacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, long transmissionId, Action action) const
 
virtual void animatePacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, const SendOptions &sendOptions, Action action) const
 
virtual void pushOrSendPacket (Packet *packet, cGate *gate, IPassivePacketSink *consumer)
 
virtual void pushOrSendPacketStart (Packet *packet, cGate *gate, IPassivePacketSink *consumer, bps datarate, int transmissionId)
 
virtual void pushOrSendPacketEnd (Packet *packet, cGate *gate, IPassivePacketSink *consumer, int transmissionId)
 
virtual void pushOrSendPacketProgress (Packet *packet, cGate *gate, IPassivePacketSink *consumer, bps datarate, b position, b extraProcessableLength, int transmissionId)
 
virtual void animatePush (Packet *packet, cGate *gate, const SendOptions &sendOptions) const
 
virtual void animatePushPacket (Packet *packet, cGate *gate) const
 
virtual void animatePushPacketStart (Packet *packet, cGate *gate, bps datarate, long transmissionId) const
 
virtual void animatePushPacketStart (Packet *packet, cGate *gate, bps datarate, const SendOptions &sendOptions) const
 
virtual void animatePushPacketEnd (Packet *packet, cGate *gate, long transmissionId) const
 
virtual void animatePushPacketEnd (Packet *packet, cGate *gate, const SendOptions &sendOptions) const
 
virtual void animatePushPacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, long transmissionId) const
 
virtual void animatePushPacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, const SendOptions &sendOptions) const
 
virtual void animatePull (Packet *packet, cGate *gate, const SendOptions &sendOptions) const
 
virtual void animatePullPacket (Packet *packet, cGate *gate) const
 
virtual void animatePullPacketStart (Packet *packet, cGate *gate, bps datarate, long transmissionId) const
 
virtual void animatePullPacketStart (Packet *packet, cGate *gate, bps datarate, const SendOptions &sendOptions) const
 
virtual void animatePullPacketEnd (Packet *packet, cGate *gate, long transmissionId) const
 
virtual void animatePullPacketEnd (Packet *packet, cGate *gate, const SendOptions &sendOptions) const
 
virtual void animatePullPacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, long transmissionId) const
 
virtual void animatePullPacketProgress (Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, const SendOptions &sendOptions) const
 
virtual void dropPacket (Packet *packet, PacketDropReason reason, int limit=-1)
 
virtual void updateDisplayString () const
 

Protected Attributes

cGate * inputGate = nullptr
 
ModuleRef< IActivePacketSourceproducer
 
ModuleRef< IPassivePacketSourceprovider
 
ModuleRef< IPacketCollectioncollection
 
cGate * outputGate = nullptr
 
ModuleRef< IPassivePacketSinkconsumer
 
ModuleRef< IActivePacketSinkcollector
 
int inProgressStreamId = -1
 
- Protected Attributes inherited from inet::queueing::PacketProcessorBase
const char * displayStringTextFormat = nullptr
 
int numProcessedPackets = -1
 
b processedTotalLength = b(-1)
 

Additional Inherited Members

- Protected Types inherited from inet::queueing::PacketProcessorBase
enum  Action { PUSH, PULL }
 

Member Function Documentation

◆ canPullPacket()

Packet * inet::queueing::PacketFlowBase::canPullPacket ( cGate *  gate) const
overridevirtual

Returns the packet that can be pulled at the given gate.

The returned value is nullptr if there is no such packet.

The gate must be a valid gate of this module and it must support pushing packets.

Implements inet::queueing::IPassivePacketSource.

Reimplemented in inet::queueing::PacketGateBase.

147 {
148  return provider->canPullPacket(inputGate->getPathStartGate());
149 }

Referenced by inet::queueing::PacketGateBase::canPullPacket(), and inet::queueing::PacketGateBase::canPullSomePacket().

◆ canPullSomePacket()

bool inet::queueing::PacketFlowBase::canPullSomePacket ( cGate *  gate) const
overridevirtual

Returns false if the packet source is empty at the given gate and no more packets can be pulled from it without raising an error.

The gate must be a valid gate of this module and it must support pulling packets.

Implements inet::queueing::IPassivePacketSource.

Reimplemented in inet::queueing::PacketGateBase.

142 {
143  return provider->canPullSomePacket(inputGate->getPathStartGate());
144 }

Referenced by inet::queueing::PacketGateBase::canPullSomePacket().

◆ canPushPacket()

bool inet::queueing::PacketFlowBase::canPushPacket ( Packet packet,
cGate *  gate 
) const
overridevirtual

Returns true if the given packet can be pushed at the given gate into the packet sink without raising an error.

The packet must not be nullptr. The gate must be a valid gate of this module and it must support pushing packets.

Implements inet::queueing::IPassivePacketSink.

Reimplemented in inet::queueing::PacketGateBase, and inet::SendToMacAddress.

62 {
63  return consumer == nullptr || consumer->canPushPacket(packet, outputGate->getPathEndGate());
64 }

Referenced by inet::queueing::PacketGateBase::canPushPacket().

◆ canPushSomePacket()

bool inet::queueing::PacketFlowBase::canPushSomePacket ( cGate *  gate) const
overridevirtual

Returns false if the packet sink is full at the given gate and no more packets can be pushed into it without raising an error.

The gate must be a valid gate of this module and it must support pushing packets.

Implements inet::queueing::IPassivePacketSink.

Reimplemented in inet::queueing::PacketGateBase, and inet::SendToMacAddress.

57 {
58  return consumer == nullptr || consumer->canPushSomePacket(outputGate->getPathEndGate());
59 }

Referenced by inet::queueing::PacketGateBase::canPushSomePacket().

◆ checkPacketStreaming()

void inet::queueing::PacketFlowBase::checkPacketStreaming ( Packet packet)
protectedvirtual
40 {
41  if (inProgressStreamId != -1 && (packet == nullptr || packet->getTreeId() != inProgressStreamId))
42  throw cRuntimeError("Another packet streaming operation is already in progress");
43 }

Referenced by pullPacket(), pullPacketEnd(), pullPacketProgress(), pullPacketStart(), pushPacket(), pushPacketEnd(), pushPacketProgress(), inet::physicallayer::EthernetPhyHeaderInserter::pushPacketStart(), inet::physicallayer::EthernetFragmentPhyHeaderInserter::pushPacketStart(), and pushPacketStart().

◆ endPacketStreaming()

void inet::queueing::PacketFlowBase::endPacketStreaming ( Packet packet)
protectedvirtual

◆ getConsumer()

virtual IPassivePacketSink* inet::queueing::PacketFlowBase::getConsumer ( cGate *  gate)
inlineoverridevirtual

Returns the passive packet sink where packets are pushed or nullptr if the connected module doesn't implement the interface.

The gate parameter must be a valid gate of this module.

Implements inet::queueing::IActivePacketSource.

Reimplemented in inet::queueing::PacketGateBase, and inet::SendToMacAddress.

45 { return this; }

◆ getMaxNumPackets()

virtual int inet::queueing::PacketFlowBase::getMaxNumPackets ( ) const
inlineoverridevirtual

Returns maximum allowed number of packets in the collection.

The value -1 means no such limit.

Implements inet::queueing::IPacketCollection.

74 { return collection->getMaxNumPackets(); }

◆ getMaxTotalLength()

virtual b inet::queueing::PacketFlowBase::getMaxTotalLength ( ) const
inlineoverridevirtual

Returns maximum allowed total length of all packets in the collection.

The value -1 means no such limit.

Implements inet::queueing::IPacketCollection.

76 { return collection->getMaxTotalLength(); }

◆ getNumPackets()

virtual int inet::queueing::PacketFlowBase::getNumPackets ( ) const
inlineoverridevirtual

Returns the number of available packets in the collection in the range [0, inf).

Implements inet::queueing::IPacketCollection.

75 { return collection->getNumPackets(); }

◆ getPacket()

virtual Packet* inet::queueing::PacketFlowBase::getPacket ( int  index) const
inlineoverridevirtual

Returns the packet at the given index.

Throws error when the index is out of range.

Implements inet::queueing::IPacketCollection.

78 { return collection->getPacket(index); }

◆ getProvider()

virtual IPassivePacketSource* inet::queueing::PacketFlowBase::getProvider ( cGate *  gate)
inlineoverridevirtual

Returns the passive packet source from where packets are pulled or nullptr if the connected module doesn't implement the interface.

The gate parameter must be a valid gate of this module.

Implements inet::queueing::IActivePacketSink.

Reimplemented in inet::queueing::PacketGateBase.

46 { return this; }

◆ getTotalLength()

virtual b inet::queueing::PacketFlowBase::getTotalLength ( ) const
inlineoverridevirtual

Returns the total length of all packets in the collection in the range [0, inf).

Implements inet::queueing::IPacketCollection.

77 { return collection->getTotalLength(); }

◆ handleCanPullPacketChanged()

void inet::queueing::PacketFlowBase::handleCanPullPacketChanged ( cGate *  gate)
overridevirtual

Notifies about a change in the possibility of pulling some packet from the passive packet source at the given gate.

This method is called, for example, when a new packet is inserted into a queue. It allows the sink to pull a new packet from the queue.

The gate parameter must be a valid gate of this module.

Implements inet::queueing::IActivePacketSink.

Reimplemented in inet::queueing::PacketGateBase, inet::queueing::CreditBasedGate, and inet::EligibilityTimeGate.

216 {
217  Enter_Method("handleCanPullPacketChanged");
218  if (collector != nullptr)
219  collector->handleCanPullPacketChanged(outputGate->getPathEndGate());
220 }

Referenced by inet::queueing::PacketGateBase::handleCanPullPacketChanged().

◆ handleCanPushPacketChanged()

void inet::queueing::PacketFlowBase::handleCanPushPacketChanged ( cGate *  gate)
overridevirtual

Notifies about a change in the possibility of pushing some packet into the passive packet sink at the given gate.

This method is called, for example, when a new packet can be inserted into a queue. It allows the source to push a new packet into the queue.

The gate parameter must be a valid gate of this module.

Implements inet::queueing::IActivePacketSource.

Reimplemented in inet::queueing::PacketGateBase, and inet::SendToMacAddress.

127 {
128  Enter_Method("handleCanPushPacketChanged");
129  if (producer != nullptr)
130  producer->handleCanPushPacketChanged(inputGate->getPathStartGate());
131 }

Referenced by inet::queueing::PacketGateBase::handleCanPushPacketChanged().

◆ handleMessage()

◆ handlePullPacketProcessed()

void inet::queueing::PacketFlowBase::handlePullPacketProcessed ( Packet packet,
cGate *  gate,
bool  successful 
)
overridevirtual

Notifies about the completion of the packet processing for a packet that was pulled earlier independently whether the packet is passed or streamed.

This method is called, for example, when a previously pulled packet is failed to be processed successfully. It allows the sink to retry the operation.

The gate parameter must be a valid gate of this module. The packet must not be nullptr.

Implements inet::queueing::IActivePacketSink.

223 {
224  Enter_Method("handlePullPacketProcessed");
225  endPacketStreaming(packet);
226  if (collector != nullptr)
227  collector->handlePullPacketProcessed(packet, outputGate->getPathStartGate(), successful);
228 }

◆ handlePushPacketProcessed()

void inet::queueing::PacketFlowBase::handlePushPacketProcessed ( Packet packet,
cGate *  gate,
bool  successful 
)
overridevirtual

Notifies about the completion of the packet processing for a packet that was pushed earlier independently whether the packet is passed or streamed.

This method is called, for example, when a previously pushed packet is failed to be processed successfully. It allows the source to retry the operation.

The gate parameter must be a valid gate of this module. The packet must not be nullptr.

Implements inet::queueing::IActivePacketSource.

Reimplemented in inet::PacketEmitter, and inet::SendToMacAddress.

134 {
135  Enter_Method("handlePushPacketProcessed");
136  endPacketStreaming(packet);
137  if (producer != nullptr)
138  producer->handlePushPacketProcessed(packet, inputGate->getPathStartGate(), successful);
139 }

Referenced by inet::PacketEmitter::handlePushPacketProcessed().

◆ initialize()

void inet::queueing::PacketFlowBase::initialize ( int  stage)
overrideprotectedvirtual

Reimplemented from inet::queueing::PacketProcessorBase.

Reimplemented in inet::StreamDecoder, inet::queueing::CreditBasedGate, inet::queueing::FlowMeasurementRecorder, inet::queueing::MultiTokenBucketMixin< PacketMeterBase >, inet::queueing::PacketGateBase, inet::queueing::FlowMeasurementStarter, inet::StreamEncoder, inet::EligibilityTimeGate, inet::PacketEmitter, inet::queueing::PacketTaggerBase, inet::queueing::PeriodicGate, inet::RelayInterfaceLearner, inet::Ieee8021qTagEpdHeaderInserter, inet::Ieee8021qTagTpidHeaderInserter, inet::queueing::SlidingWindowRateMeter, inet::queueing::TokenBucketMixin< PacketMeterBase >, inet::VlanReqMapper, inet::StreamIdentifier, inet::queueing::ExponentialRateMeter, inet::queueing::TokenBucketMeterMixin< MultiTokenBucketMixin< PacketMeterBase > >, inet::queueing::TokenBucketMeterMixin< TokenBucketMixin< PacketMeterBase > >, inet::SendWithAcknowledge, inet::PaddingInserter, inet::queueing::PacketGate, inet::EthernetAddressInserter, inet::EthernetMacHeaderInserter, inet::EthernetSocketCommandProcessor, inet::Ieee8021qSocketCommandProcessor, inet::Ieee8022LlcSocketCommandProcessor, inet::Ieee8021rTagEpdHeaderInserter, inet::CrcInserterBase, inet::FcsInserterBase, inet::CrcHeaderInserter, inet::FcsHeaderInserter, inet::FragmentNumberHeaderChecker, inet::FragmentNumberHeaderInserter, inet::SendToL3Address, inet::SendToMacAddress, inet::queueing::MultiTokenBucketMeter, inet::queueing::TokenBucketMeter, inet::Ieee8022SnapInserter, inet::SendWithHopLimit, inet::SendToPort, inet::queueing::PacketLabelerBase, inet::queueing::ContentBasedLabeler, inet::queueing::ContentBasedTagger, inet::queueing::PacketLabeler, inet::queueing::PacketTagger, inet::Ieee8022LlcInserter, inet::PacketDirectionReverser, inet::EthernetTypeOrLengthInserter, inet::Ieee8021aeTagEpdHeaderInserter, and inet::queueing::InteractiveGate.

16 {
18  if (stage == INITSTAGE_LOCAL) {
19  inputGate = gate("in");
20  outputGate = gate("out");
21  producer.reference(inputGate, false);
22  consumer.reference(outputGate, false);
23  provider.reference(inputGate, false);
24  collector.reference(outputGate, false);
25  collection.reference(inputGate, false);
26  }
27  else if (stage == INITSTAGE_QUEUEING) {
30  }
31 }

Referenced by inet::EthernetTypeOrLengthInserter::initialize(), inet::PacketDirectionReverser::initialize(), inet::Ieee8021aeTagEpdHeaderInserter::initialize(), inet::Ieee8022LlcInserter::initialize(), inet::Ieee8022SnapInserter::initialize(), inet::queueing::PacketLabelerBase::initialize(), inet::SendToPort::initialize(), inet::SendWithHopLimit::initialize(), inet::Ieee8021rTagEpdHeaderInserter::initialize(), inet::CrcInserterBase::initialize(), inet::FragmentNumberHeaderChecker::initialize(), inet::FragmentNumberHeaderInserter::initialize(), inet::FcsInserterBase::initialize(), inet::SendToL3Address::initialize(), inet::SendToMacAddress::initialize(), inet::EthernetSocketCommandProcessor::initialize(), inet::Ieee8022LlcSocketCommandProcessor::initialize(), inet::EthernetAddressInserter::initialize(), inet::Ieee8021qSocketCommandProcessor::initialize(), inet::EthernetMacHeaderInserter::initialize(), inet::PaddingInserter::initialize(), inet::SendWithAcknowledge::initialize(), inet::StreamIdentifier::initialize(), inet::VlanReqMapper::initialize(), inet::queueing::ExponentialRateMeter::initialize(), inet::queueing::SlidingWindowRateMeter::initialize(), inet::Ieee8021qTagEpdHeaderInserter::initialize(), inet::RelayInterfaceLearner::initialize(), inet::Ieee8021qTagTpidHeaderInserter::initialize(), inet::PacketEmitter::initialize(), inet::queueing::PacketTaggerBase::initialize(), inet::StreamEncoder::initialize(), inet::queueing::FlowMeasurementStarter::initialize(), inet::queueing::PacketGateBase::initialize(), inet::queueing::FlowMeasurementRecorder::initialize(), and inet::StreamDecoder::initialize().

◆ isEmpty()

virtual bool inet::queueing::PacketFlowBase::isEmpty ( ) const
inlineoverridevirtual

Returns true if there are no packets available in the collection.

Implements inet::queueing::IPacketCollection.

79 { return collection->isEmpty(); }

◆ isStreamingPacket()

virtual bool inet::queueing::PacketFlowBase::isStreamingPacket ( ) const
inlineprotectedvirtual
39 { return inProgressStreamId != -1; }

Referenced by pushPacketEnd(), and pushPacketProgress().

◆ processPacket()

virtual void inet::queueing::PacketFlowBase::processPacket ( Packet packet)
protectedpure virtual

Implemented in inet::queueing::FlowMeasurementRecorder, inet::queueing::FlowMeasurementStarter, inet::queueing::CreditBasedGate, inet::StreamDecoder, inet::queueing::PacketGateBase, inet::StreamEncoder, inet::RelayInterfaceLearner, inet::PacketEmitter, inet::Ieee8021qTagEpdHeaderInserter, inet::Ieee8021qTagTpidHeaderInserter, inet::PaddingInserter, inet::StreamIdentifier, inet::EthernetSocketCommandProcessor, inet::Ieee8021qSocketCommandProcessor, inet::Ieee8022LlcSocketCommandProcessor, inet::VlanReqMapper, inet::SendWithAcknowledge, inet::FragmentNumberHeaderChecker, inet::EthernetAddressInserter, inet::EthernetFragmentFcsInserter, inet::EthernetMacHeaderInserter, inet::physicallayer::EthernetFragmentPhyHeaderInserter, inet::Ieee8021rTagEpdHeaderInserter, inet::CrcHeaderInserter, inet::FcsHeaderInserter, inet::FragmentNumberHeaderInserter, inet::SendToL3Address, inet::SendToMacAddress, inet::Ieee8022SnapInserter, inet::SendWithHopLimit, inet::SendToPort, inet::Ieee8022LlcInserter, inet::SequenceNumbering, inet::queueing::PacketMeterBase, inet::physicallayer::EthernetPhyHeaderInserter, inet::PacketDirectionReverser, inet::EthernetFcsInserter, inet::EthernetTypeOrLengthInserter, inet::Ieee8021aeTagEpdHeaderInserter, inet::SendWithProtocol, inet::PacketDeserializer, inet::PacketSerializer, and inet::queueing::PacketMarkerBase.

Referenced by pullPacket(), pullPacketEnd(), pullPacketProgress(), pullPacketStart(), pushPacket(), pushPacketEnd(), pushPacketProgress(), and pushPacketStart().

◆ pullPacket()

Packet * inet::queueing::PacketFlowBase::pullPacket ( cGate *  gate)
overridevirtual

Pulls the packet from the packet source at the given gate.

This operation pulls the packet as a whole. The onwership of the packet is transferred to the sink.

The source must not be empty at the given gate. The returned packet must not be nullptr. The gate must be a valid gate of this module and it must support pulling and passing packets.

Implements inet::queueing::IPassivePacketSource.

Reimplemented in inet::EligibilityTimeGate.

152 {
153  Enter_Method("pullPacket");
154  checkPacketStreaming(nullptr);
155  auto packet = provider->pullPacket(inputGate->getPathStartGate());
156  take(packet);
157  emit(packetPulledInSignal, packet);
158  processPacket(packet);
159  handlePacketProcessed(packet);
160  emit(packetPulledOutSignal, packet);
161  animatePullPacket(packet, outputGate);
163  return packet;
164 }

Referenced by inet::EligibilityTimeGate::pullPacket().

◆ pullPacketEnd()

Packet * inet::queueing::PacketFlowBase::pullPacketEnd ( cGate *  gate)
overridevirtual

Ends pulling the packet from the packet source at the given gate.

This is a packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, when a preemption supporting server module ends streaming a packet from the the source.

The source must not be empty at the gate and no other packet streaming can be in progress. The gate must be a valid gate of this module and it must support pulling and streaming packets. The returned packet must not be nullptr.

Implements inet::queueing::IPassivePacketSource.

182 {
183  Enter_Method("pullPacketEnd");
184  auto packet = provider->pullPacketEnd(inputGate->getPathStartGate());
185  take(packet);
186  checkPacketStreaming(packet);
187  emit(packetPulledInSignal, packet);
188  processPacket(packet);
189  inProgressStreamId = packet->getTreeId();
190  emit(packetPulledOutSignal, packet);
191  endPacketStreaming(packet);
192  animatePullPacketEnd(packet, outputGate, packet->getTransmissionId());
194  return packet;
195 }

◆ pullPacketProgress()

Packet * inet::queueing::PacketFlowBase::pullPacketProgress ( cGate *  gate,
bps  datarate,
b  position,
b  extraProcessableLength 
)
overridevirtual

Progresses pulling the packet from the packet source at the given gate.

This is a packet streaming operation. The position specifies where the packet streaming is at the moment. The extra length parameter partially fixes the future of the packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, to notify the source about a change in the packet data when a preemption occurs.

The source must not be empty at the gate and no other packet streaming can be in progress. The gate must be a valid gate of this module and it must support pulling and streaming packets. The returned packet must not be nullptr.

Implements inet::queueing::IPassivePacketSource.

198 {
199  Enter_Method("pullPacketProgress");
200  auto packet = provider->pullPacketProgress(inputGate->getPathStartGate(), datarate, position, extraProcessableLength);
201  take(packet);
202  checkPacketStreaming(packet);
203  inProgressStreamId = packet->getTreeId();
204  bool isPacketEnd = packet->getTotalLength() == position + extraProcessableLength;
205  processPacket(packet);
206  if (isPacketEnd) {
207  emit(packetPulledOutSignal, packet);
208  endPacketStreaming(packet);
209  }
210  animatePullPacketProgress(packet, outputGate, datarate, position, extraProcessableLength, packet->getTransmissionId());
212  return packet;
213 }

◆ pullPacketStart()

Packet * inet::queueing::PacketFlowBase::pullPacketStart ( cGate *  gate,
bps  datarate 
)
overridevirtual

Starts pulling the packet from the packet source at the given gate.

This is a packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, when a preemption supporting server module starts streaming a packet from the source.

The source must not be empty at the gate and no other packet streaming can be in progress. The gate must be a valid gate of this module and it must support pulling and streaming packets. The returned packet must not be nullptr.

Implements inet::queueing::IPassivePacketSource.

167 {
168  Enter_Method("pullPacketStart");
169  checkPacketStreaming(nullptr);
170  auto packet = provider->pullPacketStart(inputGate->getPathStartGate(), datarate);
171  take(packet);
172  emit(packetPulledInSignal, packet);
173  inProgressStreamId = packet->getTreeId();
174  processPacket(packet);
175  emit(packetPulledOutSignal, packet);
176  animatePullPacketStart(packet, outputGate, datarate, packet->getTransmissionId());
178  return packet;
179 }

◆ pushPacket()

void inet::queueing::PacketFlowBase::pushPacket ( Packet packet,
cGate *  gate 
)
overridevirtual

Pushes the packet into the packet sink at the given gate.

This operation pushes the packet as a whole. The onwership of the packet is transferred to the sink.

This method is called, for example, when a packet source module pushes a packet into a queue module.

The sink must not be full at the gate. The packet must not be nullptr. The gate must be a valid gate of this module and it must support pushing and passing packets.

Implements inet::queueing::IPassivePacketSink.

Reimplemented in inet::PacketEmitter, and inet::SendToMacAddress.

67 {
68  Enter_Method("pushPacket");
69  take(packet);
70  checkPacketStreaming(nullptr);
71  emit(packetPushedInSignal, packet);
72  processPacket(packet);
73  handlePacketProcessed(packet);
74  emit(packetPushedOutSignal, packet);
77 }

Referenced by handleMessage(), and inet::PacketEmitter::pushPacket().

◆ pushPacketEnd()

void inet::queueing::PacketFlowBase::pushPacketEnd ( Packet packet,
cGate *  gate 
)
overridevirtual

Ends pushing the packet into the packet sink at the given gate.

This is a packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, when a preemption supporting server module ends streaming a packet to the sink.

The sink must not be full at the gate and no other packet streaming can be in progress. The packet must not be nullptr. The gate must be a valid gate of this module and it must support pushing and streaming packets.

Implements inet::queueing::IPassivePacketSink.

Reimplemented in inet::PacketEmitter.

92 {
93  Enter_Method("pushPacketEnd");
94  take(packet);
95  if (!isStreamingPacket())
96  startPacketStreaming(packet);
97  else
98  checkPacketStreaming(packet);
99  processPacket(packet);
100  emit(packetPushedOutSignal, packet);
101  endPacketStreaming(packet);
102  pushOrSendPacketEnd(packet, outputGate, consumer, packet->getTransmissionId());
104 }

Referenced by inet::PacketEmitter::pushPacketEnd().

◆ pushPacketProgress()

void inet::queueing::PacketFlowBase::pushPacketProgress ( Packet packet,
cGate *  gate,
bps  datarate,
b  position,
b  extraProcessableLength = b(0) 
)
overridevirtual

Progresses pushing the packet into the packet sink at the given gate.

This is a packet streaming operation. The position specifies where the packet streaming is at the moment. The extra length parameter partially fixes the future of the packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, to notify the sink about a change in the packet data when a preemption occurs.

The sink must not be full at the gate and no other packet streaming can be in progress. The packet must not be nullptr. The gate must be a valid gate of this module and it must support pushing and streaming packets.

Implements inet::queueing::IPassivePacketSink.

107 {
108  Enter_Method("pushPacketProgress");
109  take(packet);
110  if (!isStreamingPacket())
111  startPacketStreaming(packet);
112  else
113  checkPacketStreaming(packet);
114  bool isPacketEnd = packet->getTotalLength() == position + extraProcessableLength;
115  processPacket(packet);
116  if (isPacketEnd) {
117  emit(packetPushedOutSignal, packet);
118  endPacketStreaming(packet);
119  pushOrSendPacketEnd(packet, outputGate, consumer, packet->getTransmissionId());
120  }
121  else
122  pushOrSendPacketProgress(packet, outputGate, consumer, datarate, position, extraProcessableLength, packet->getTransmissionId());
124 }

◆ pushPacketStart()

void inet::queueing::PacketFlowBase::pushPacketStart ( Packet packet,
cGate *  gate,
bps  datarate 
)
overridevirtual

Starts pushing the packet into the packet sink at the given gate.

This is a packet streaming operation. The onwership of the packet is transferred to the sink.

Packet streaming can be started with any of the streaming operations, and ends when the streaming position plus the extra processable packet length equals to the total packet length.

This method is called, for example, when a preemption supporting server module starts streaming a packet to the sink.

The sink must not be full at the gate and no other packet streaming can be in progress. The packet must not be nullptr. The gate must be a valid gate of this module and it must support pushing and streaming packets.

Implements inet::queueing::IPassivePacketSink.

Reimplemented in inet::physicallayer::EthernetFragmentPhyHeaderInserter, and inet::physicallayer::EthernetPhyHeaderInserter.

80 {
81  Enter_Method("pushPacketStart");
82  take(packet);
83  checkPacketStreaming(packet);
84  emit(packetPushedInSignal, packet);
85  startPacketStreaming(packet);
86  processPacket(packet);
87  pushOrSendPacketStart(packet, outputGate, consumer, datarate, packet->getTransmissionId());
89 }

◆ removeAllPackets()

virtual void inet::queueing::PacketFlowBase::removeAllPackets ( )
inlineoverridevirtual

Removes all packets from the collection.

Implements inet::queueing::IPacketCollection.

81 { collection->removeAllPackets(); }

◆ removePacket()

virtual void inet::queueing::PacketFlowBase::removePacket ( Packet packet)
inlineoverridevirtual

Removes a packet from the collection.

The collection must contain the packet.

Implements inet::queueing::IPacketCollection.

80 { collection->removePacket(packet); }

◆ startPacketStreaming()

void inet::queueing::PacketFlowBase::startPacketStreaming ( Packet packet)
protectedvirtual

◆ supportsPacketPulling()

virtual bool inet::queueing::PacketFlowBase::supportsPacketPulling ( cGate *  gate) const
inlineoverridevirtual

Returns true if the processor supports pulling packets at the given gate.

Pulling a packet is a synchronous operation that is initiated by the sink module. A pulled packet can be passed as a whole using pullPacket(), or it can be streamed from the source to the sink using pullPacketStart(), pullPacketEnd(), and pullPacketProgress().

For output gates, true means that the connected module can pull packets from this module. For input gates, true means that this module can pull packets from the connected module. For example, a packet server module can pull packets from a queue module.

Connecting incompatible gates raises an error during initialize. The gate parameter must be a valid gate of this module. The gate should be marked with @labels(pull) in the NED file.

Implements inet::queueing::IPacketProcessor.

Reimplemented in inet::queueing::PacketGateBase.

49 { return true; }

◆ supportsPacketPushing()

virtual bool inet::queueing::PacketFlowBase::supportsPacketPushing ( cGate *  gate) const
inlineoverridevirtual

Returns true if the processor supports pushing packets at the given gate.

Pushing a packet is a synchronous operation that is initiated by the source module. A pushed packet can be passed as a whole using pushPacket(), or it can be streamed from the source to the sink using pushPacketStart(), pushPacketEnd(), and pushPacketProgress().

For output gates, true means that this module can push packets into the connected module. For input gates, true means that the connected module can push packets into this module. For example, a packet generator module can push packets into a queue module.

Connecting incompatible gates raises an error during initialize. The gate parameter must be a valid gate of this module. The gate should be marked with @labels(push) in the NED file.

Implements inet::queueing::IPacketProcessor.

Reimplemented in inet::queueing::PacketGateBase.

48 { return true; }

◆ supportsPacketStreaming()

virtual bool inet::queueing::PacketFlowBase::supportsPacketStreaming ( cGate *  gate) const
inlineoverridevirtual

Returns true if the processor supports streaming packets at the given gate.

A streamed packet is handed over from one module to another using several method calls and potentially exending to a non-zero simulation duration.

For example, packets are streamed to a preemptable signal transmitter module.

Connecting incompatible gates raises an error during initialize. The gate parameter must be a valid gate of this module. The gate should be marked with @labels(stream) in the NED file.

Reimplemented from inet::queueing::PacketProcessorBase.

50 { return true; }

Member Data Documentation

◆ collection

ModuleRef<IPacketCollection> inet::queueing::PacketFlowBase::collection
protected

Referenced by initialize().

◆ collector

◆ consumer

◆ inProgressStreamId

int inet::queueing::PacketFlowBase::inProgressStreamId = -1
protected

◆ inputGate

cGate* inet::queueing::PacketFlowBase::inputGate = nullptr
protected

Referenced by canPullPacket(), canPullSomePacket(), inet::queueing::PacketGateBase::close(), inet::EligibilityTimeGate::emitEligibilityTimeChangedSignal(), inet::queueing::PacketMeterBase::getRegistrationForwardingGate(), inet::VlanReqMapper::getRegistrationForwardingGate(), inet::EthernetSocketCommandProcessor::getRegistrationForwardingGate(), inet::Ieee8021qSocketCommandProcessor::getRegistrationForwardingGate(), inet::Ieee8022LlcSocketCommandProcessor::getRegistrationForwardingGate(), inet::StreamIdentifier::getRegistrationForwardingGate(), inet::RelayInterfaceLearner::getRegistrationForwardingGate(), inet::queueing::PacketGateBase::getRegistrationForwardingGate(), inet::StreamEncoder::getRegistrationForwardingGate(), inet::StreamDecoder::getRegistrationForwardingGate(), inet::SendToMacAddress::handleCanPushPacketChanged(), handleCanPushPacketChanged(), inet::SendWithAcknowledge::handleMessage(), handlePushPacketProcessed(), inet::SendWithProtocol::handleRegisterService(), inet::PacketDirectionReverser::initialize(), inet::Ieee8021aeTagEpdHeaderInserter::initialize(), inet::EthernetTypeOrLengthInserter::initialize(), inet::Ieee8022LlcInserter::initialize(), inet::SendToPort::initialize(), inet::SendWithHopLimit::initialize(), inet::Ieee8022SnapInserter::initialize(), inet::SendToL3Address::initialize(), inet::FragmentNumberHeaderChecker::initialize(), inet::Ieee8021rTagEpdHeaderInserter::initialize(), inet::SendToMacAddress::initialize(), inet::CrcHeaderInserter::initialize(), inet::FcsHeaderInserter::initialize(), inet::EthernetMacHeaderInserter::initialize(), inet::SendWithAcknowledge::initialize(), inet::Ieee8021qTagEpdHeaderInserter::initialize(), initialize(), inet::queueing::PacketGateBase::open(), inet::SendWithAcknowledge::processPacket(), pullPacket(), pullPacketEnd(), pullPacketProgress(), pullPacketStart(), and inet::EligibilityTimeGate::updateOpen().

◆ outputGate

cGate* inet::queueing::PacketFlowBase::outputGate = nullptr
protected

Referenced by canPushPacket(), canPushSomePacket(), inet::queueing::PacketGateBase::close(), inet::queueing::PacketMeterBase::getRegistrationForwardingGate(), inet::Ieee8022LlcSocketCommandProcessor::getRegistrationForwardingGate(), inet::VlanReqMapper::getRegistrationForwardingGate(), inet::Ieee8021qSocketCommandProcessor::getRegistrationForwardingGate(), inet::EthernetSocketCommandProcessor::getRegistrationForwardingGate(), inet::StreamIdentifier::getRegistrationForwardingGate(), inet::RelayInterfaceLearner::getRegistrationForwardingGate(), inet::queueing::PacketGateBase::getRegistrationForwardingGate(), inet::StreamEncoder::getRegistrationForwardingGate(), inet::StreamDecoder::getRegistrationForwardingGate(), handleCanPullPacketChanged(), handlePullPacketProcessed(), inet::SendWithProtocol::handleRegisterProtocol(), inet::PacketDirectionReverser::initialize(), inet::Ieee8022LlcInserter::initialize(), inet::SendToPort::initialize(), inet::SendWithHopLimit::initialize(), inet::Ieee8022SnapInserter::initialize(), inet::CrcHeaderInserter::initialize(), inet::FcsHeaderInserter::initialize(), inet::SendToMacAddress::initialize(), inet::FragmentNumberHeaderChecker::initialize(), inet::SendToL3Address::initialize(), inet::SendWithAcknowledge::initialize(), initialize(), inet::queueing::PacketGateBase::open(), inet::SendWithHopLimit::processPacket(), pullPacket(), pullPacketEnd(), pullPacketProgress(), pullPacketStart(), pushPacket(), pushPacketEnd(), pushPacketProgress(), inet::physicallayer::EthernetPhyHeaderInserter::pushPacketStart(), inet::physicallayer::EthernetFragmentPhyHeaderInserter::pushPacketStart(), and pushPacketStart().

◆ producer

◆ provider


The documentation for this class was generated from the following files:
inet::queueing::PacketProcessorBase::initialize
virtual void initialize(int stage) override
Definition: PacketProcessorBase.cc:16
inet::queueing::PacketProcessorBase::pushOrSendPacket
virtual void pushOrSendPacket(Packet *packet, cGate *gate, IPassivePacketSink *consumer)
Definition: PacketProcessorBase.cc:126
inet::queueing::PacketProcessorBase::animatePullPacket
virtual void animatePullPacket(Packet *packet, cGate *gate) const
Definition: PacketProcessorBase.cc:355
inet::queueing::PacketProcessorBase::pushOrSendPacketProgress
virtual void pushOrSendPacketProgress(Packet *packet, cGate *gate, IPassivePacketSink *consumer, bps datarate, b position, b extraProcessableLength, int transmissionId)
Definition: PacketProcessorBase.cc:171
inet::INITSTAGE_QUEUEING
INET_API InitStage INITSTAGE_QUEUEING
Initialization of queueing modules.
inet::packetPulledOutSignal
simsignal_t packetPulledOutSignal
Definition: Simsignals.cc:107
inet::packetPushedInSignal
simsignal_t packetPushedInSignal
Definition: Simsignals.cc:100
inet::queueing::PacketFlowBase::collection
ModuleRef< IPacketCollection > collection
Definition: PacketFlowBase.h:25
inet::queueing::PacketFlowBase::pushPacket
virtual void pushPacket(Packet *packet, cGate *gate) override
Pushes the packet into the packet sink at the given gate.
Definition: PacketFlowBase.cc:66
inet::queueing::PacketProcessorBase::animatePullPacketStart
virtual void animatePullPacketStart(Packet *packet, cGate *gate, bps datarate, long transmissionId) const
Definition: PacketProcessorBase.cc:360
inet::queueing::PacketFlowBase::collector
ModuleRef< IActivePacketSink > collector
Definition: PacketFlowBase.h:29
inet::queueing::PacketProcessorBase::handlePacketProcessed
virtual void handlePacketProcessed(Packet *packet)
Definition: PacketProcessorBase.cc:34
inet::queueing::PacketFlowBase::outputGate
cGate * outputGate
Definition: PacketFlowBase.h:27
inet::queueing::PacketFlowBase::endPacketStreaming
virtual void endPacketStreaming(Packet *packet)
Definition: PacketFlowBase.cc:50
inet::queueing::PacketFlowBase::provider
ModuleRef< IPassivePacketSource > provider
Definition: PacketFlowBase.h:24
inet::queueing::PacketFlowBase::consumer
ModuleRef< IPassivePacketSink > consumer
Definition: PacketFlowBase.h:28
inet::queueing::PacketFlowBase::producer
ModuleRef< IActivePacketSource > producer
Definition: PacketFlowBase.h:23
inet::INITSTAGE_LOCAL
INET_API InitStage INITSTAGE_LOCAL
Initialization of local state that don't use or affect other modules includes:
inet::queueing::PacketFlowBase::checkPacketStreaming
virtual void checkPacketStreaming(Packet *packet)
Definition: PacketFlowBase.cc:39
inet::queueing::PacketFlowBase::inputGate
cGate * inputGate
Definition: PacketFlowBase.h:22
inet::queueing::PacketProcessorBase::pushOrSendPacketEnd
virtual void pushOrSendPacketEnd(Packet *packet, cGate *gate, IPassivePacketSink *consumer, int transmissionId)
Definition: PacketProcessorBase.cc:154
inet::queueing::PacketProcessorBase::animatePullPacketProgress
virtual void animatePullPacketProgress(Packet *packet, cGate *gate, bps datarate, b position, b extraProcessableLength, long transmissionId) const
Definition: PacketProcessorBase.cc:380
inet::queueing::PacketProcessorBase::updateDisplayString
virtual void updateDisplayString() const
Definition: PacketProcessorBase.cc:399
inet::queueing::PacketFlowBase::startPacketStreaming
virtual void startPacketStreaming(Packet *packet)
Definition: PacketFlowBase.cc:45
inet::queueing::PacketProcessorBase::checkPacketOperationSupport
virtual void checkPacketOperationSupport(cGate *gate) const
Definition: PacketProcessorBase.cc:40
inet::packetPushedOutSignal
simsignal_t packetPushedOutSignal
Definition: Simsignals.cc:101
inet::queueing::PacketFlowBase::inProgressStreamId
int inProgressStreamId
Definition: PacketFlowBase.h:31
inet::queueing::PacketFlowBase::processPacket
virtual void processPacket(Packet *packet)=0
Enter_Method
#define Enter_Method(...)
Definition: SelfDoc.h:71
inet::queueing::PacketProcessorBase::pushOrSendPacketStart
virtual void pushOrSendPacketStart(Packet *packet, cGate *gate, IPassivePacketSink *consumer, bps datarate, int transmissionId)
Definition: PacketProcessorBase.cc:136
inet::queueing::PacketProcessorBase::animatePullPacketEnd
virtual void animatePullPacketEnd(Packet *packet, cGate *gate, long transmissionId) const
Definition: PacketProcessorBase.cc:370
inet::packetPulledInSignal
simsignal_t packetPulledInSignal
Definition: Simsignals.cc:106
inet::queueing::PacketFlowBase::isStreamingPacket
virtual bool isStreamingPacket() const
Definition: PacketFlowBase.h:39