CatapultServer
v0.5.0.1 (Elephant)
BatchPacketReader.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
PacketIo.h
"
23
24
namespace
catapult
{
namespace
ionet {
25
27
class
BatchPacketReader
{
28
public
:
29
virtual
~BatchPacketReader
() =
default
;
30
31
public
:
37
virtual
void
readMultiple
(
const
PacketIo::ReadCallback
& callback) = 0;
38
};
39
}}
catapult::ionet::BatchPacketReader::~BatchPacketReader
virtual ~BatchPacketReader()=default
catapult::ionet::PacketIo::ReadCallback
consumer< SocketOperationCode, const Packet * > ReadCallback
Definition:
PacketIo.h:33
catapult::ionet::BatchPacketReader::readMultiple
virtual void readMultiple(const PacketIo::ReadCallback &callback)=0
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::ionet::BatchPacketReader
An read-optimized interface for reading packets.
Definition:
BatchPacketReader.h:27
PacketIo.h
catapult-server
src
catapult
ionet
BatchPacketReader.h
Generated by
1.8.16