OpenDaVINCI  4.15.3
odcore::io::PacketListener Class Referenceabstract

#include <PacketListener.h>

Inheritance diagram for odcore::io::PacketListener:
Inheritance graph

Public Member Functions

virtual ~PacketListener ()
virtual void nextPacket (const odcore::data::Packet &p)=0

Detailed Description

This class provides an interface for getting informed about new packets by a packet observer.

Constructor & Destructor Documentation

odcore::io::PacketListener::~PacketListener ( )

Member Function Documentation

virtual void odcore::io::PacketListener::nextPacket ( const odcore::data::Packet &  p)
pure virtual

This method is called whenever a new packet occurs.

pPacket that has been occurred.

Implemented in odcore::io::conference::UDPMultiCastContainerConference, odcore::dmcp::discoverer::Client, and odcore::io::PacketPipeline.

Referenced by odcore::io::udp::UDPReceiver::nextPacket().