CatapultServer  v0.5.0.1 (Elephant)
catapult::net::ChainedSocketReader Class Referenceabstract

Public Types

using CompletionHandler = consumer< ionet::SocketOperationCode >
 Callback that is called when the read chain is broken. More...
 

Public Member Functions

virtual ~ChainedSocketReader ()=default
 
virtual void start ()=0
 Starts reading. More...
 
virtual void stop ()=0
 Stops reading. More...
 

Detailed Description

A reader that chains reads from a socket (it initiates the next read upon the successful completion of the current read).

Member Typedef Documentation

◆ CompletionHandler

Callback that is called when the read chain is broken.

Constructor & Destructor Documentation

◆ ~ChainedSocketReader()

virtual catapult::net::ChainedSocketReader::~ChainedSocketReader ( )
virtualdefault

Member Function Documentation

◆ start()

virtual void catapult::net::ChainedSocketReader::start ( )
pure virtual

Starts reading.

◆ stop()

virtual void catapult::net::ChainedSocketReader::stop ( )
pure virtual

Stops reading.


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