CatapultServer  v0.5.0.1 (Elephant)
SocketReader.cpp File Reference
Include dependency graph for SocketReader.cpp:

Namespaces

 catapult
 
 catapult::ionet
 
 catapult::ionet::operation_state
 

Functions

std::unique_ptr< SocketReader > catapult::ionet::CreateSocketReader (const std::shared_ptr< BatchPacketReader > &pReader, const std::shared_ptr< PacketIo > &pWriter, const ServerPacketHandlers &handlers, const ReaderIdentity &identity)
 Creates a socket packet reader around pReader, pWriter and handlers given a reader identity. More...
 

Variable Documentation

◆ m_callback

SocketReader::ReadCallback m_callback
private

◆ m_handlers

const ServerPacketHandlers& m_handlers
private

◆ m_identity

ReaderIdentity m_identity
private

◆ m_numOutstandingOperations

size_t m_numOutstandingOperations
private

◆ m_pOperation

std::weak_ptr<PacketReadWriteOperation> m_pOperation
private

◆ m_pReader

std::shared_ptr<BatchPacketReader> m_pReader
private

◆ m_pWriter

std::shared_ptr<PacketIo> m_pWriter
private

◆ m_state

size_t m_state
private