OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.6.0
API documentation
PacketProcessingListener Class Referenceabstract

#include <PacketProcessingListener.h>

Public Member Functions

virtual void onPacketReceived (const std::string &feedName, const Packet &packet)=0
 

Protected Member Functions

virtual ~PacketProcessingListener ()
 

Detailed Description

Defines the interface through which the Handler notifies subscribers about incoming packets.

Definition at line 30 of file PacketProcessingListener.h.

Constructor & Destructor Documentation

virtual ~PacketProcessingListener ( )
inlineprotectedvirtual

Definition at line 42 of file PacketProcessingListener.h.

Member Function Documentation

virtual void onPacketReceived ( const std::string &  feedName,
const Packet packet 
)
pure virtual

Is called when a new TCP or UDP packet was received.

Note
UDP packets can be out of order.
Parameters
feedNameA name of the feed. Could be TCP or UDP.
packetA received packet.

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