#include <PacketProcessingListener.h>
Defines the interface through which the Handler notifies subscribers about incoming packets.
Definition at line 30 of file PacketProcessingListener.h.
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
-
feedName | A name of the feed. Could be TCP or UDP. |
packet | A received packet. |
The documentation for this class was generated from the following file: