|
INET Framework for OMNeT++/OMNEST
|
This class defines the interface for packet pullers. More...
#include <IPacketPuller.h>
Additional Inherited Members | |
Public Member Functions inherited from inet::queueing::IActivePacketSink | |
| virtual | ~IActivePacketSink () |
| virtual IPassivePacketSource * | getProvider (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... | |
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 Packet * | canPullPacket (cGate *gate) const =0 |
| Returns the packet that can be pulled at the given gate. More... | |
| virtual Packet * | pullPacket (cGate *gate)=0 |
| Pulls the packet from the packet source at the given gate. More... | |
| virtual Packet * | pullPacketStart (cGate *gate, bps datarate)=0 |
| Starts pulling the packet from the packet source at the given gate. More... | |
| virtual Packet * | pullPacketEnd (cGate *gate)=0 |
| Ends pulling the packet from the packet source at the given gate. More... | |
| virtual Packet * | pullPacketProgress (cGate *gate, bps datarate, b position, b extraProcessableLength)=0 |
| Progresses pulling the packet from the packet source at the given gate. More... | |
This class defines the interface for packet pullers.