|
CatapultServer
v0.5.0.1 (Elephant)
|
An read-optimized interface for reading packets. More...

Public Member Functions | |
| virtual | ~BatchPacketReader ()=default |
| virtual void | readMultiple (const PacketIo::ReadCallback &callback)=0 |
An read-optimized interface for reading packets.
|
virtualdefault |
|
pure virtual |
Reads and consumes all ready packets and calls callback on completion. On success, the read packets are passed to callback.