INET Framework for OMNeT++/OMNEST
inet::queueing::IPacketSink Class Reference

This class defines the interface for packet sinks which can be both passive and active. More...

#include <IPacketSink.h>

Inheritance diagram for inet::queueing::IPacketSink:
inet::queueing::IPassivePacketSink inet::queueing::IActivePacketSink inet::queueing::IPacketFlow inet::queueing::PacketClassifierBase inet::queueing::PacketSchedulerBase inet::PacketDestreamer inet::PacketStreamer inet::PreemptableStreamer inet::queueing::IPacketFilter inet::queueing::IPacketMarker inet::queueing::IPacketMeter inet::queueing::PacketFlowBase inet::ClockUserModuleMixin< PacketClassifierBase > inet::BehaviorAggregateClassifier inet::EthernetFrameClassifier inet::MultiFieldClassifier inet::PcpClassifier inet::PcpTrafficClassClassifier inet::queueing::ContentBasedClassifier inet::queueing::LabelClassifier inet::queueing::PacketClassifier inet::queueing::PriorityClassifier inet::queueing::WrrClassifier inet::StreamClassifier inet::queueing::MultiTokenBucketMixin< PacketClassifierBase > inet::queueing::TokenBucketMixin< PacketClassifierBase > inet::ClockUserModuleMixin< PacketSchedulerBase > inet::queueing::ContentBasedScheduler inet::queueing::LabelScheduler inet::queueing::PacketScheduler inet::queueing::PriorityScheduler inet::queueing::WrrScheduler

Additional Inherited Members

- Public Member Functions inherited from inet::queueing::IPassivePacketSink
virtual ~IPassivePacketSink ()
 
virtual bool canPushSomePacket (cGate *gate) const =0
 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 =0
 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)=0
 Pushes the packet into the packet sink at the given gate. More...
 
virtual void pushPacketStart (Packet *packet, cGate *gate, bps datarate)=0
 Starts pushing the packet into the packet sink at the given gate. More...
 
virtual void pushPacketEnd (Packet *packet, cGate *gate)=0
 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))=0
 Progresses pushing the packet into the packet sink at the given gate. More...
 
- Public Member Functions inherited from inet::queueing::IActivePacketSink
virtual ~IActivePacketSink ()
 
virtual IPassivePacketSourcegetProvider (cGate *gate)=0
 Returns the passive packet source from where packets are pulled or nullptr if the connected module doesn't implement the interface. More...
 
virtual void handleCanPullPacketChanged (cGate *gate)=0
 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)=0
 Notifies about the completion of the packet processing for a packet that was pulled earlier independently whether the packet is passed or streamed. More...
 

Detailed Description

This class defines the interface for packet sinks which can be both passive and active.


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