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

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

#include <IPacketSource.h>

Inheritance diagram for inet::queueing::IPacketSource:
inet::queueing::IPassivePacketSource inet::queueing::IActivePacketSource 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::IPassivePacketSource
virtual ~IPassivePacketSource ()
 
virtual bool canPullSomePacket (cGate *gate) const =0
 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 =0
 Returns the packet that can be pulled at the given gate. More...
 
virtual PacketpullPacket (cGate *gate)=0
 Pulls the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketStart (cGate *gate, bps datarate)=0
 Starts pulling the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketEnd (cGate *gate)=0
 Ends pulling the packet from the packet source at the given gate. More...
 
virtual PacketpullPacketProgress (cGate *gate, bps datarate, b position, b extraProcessableLength)=0
 Progresses pulling the packet from the packet source at the given gate. More...
 
- Public Member Functions inherited from inet::queueing::IActivePacketSource
virtual ~IActivePacketSource ()
 
virtual IPassivePacketSinkgetConsumer (cGate *gate)=0
 Returns the passive packet sink where packets are pushed or nullptr if the connected module doesn't implement the interface. More...
 
virtual void handleCanPushPacketChanged (cGate *gate)=0
 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)=0
 Notifies about the completion of the packet processing for a packet that was pushed earlier independently whether the packet is passed or streamed. More...
 

Detailed Description

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


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