CatapultServer
v0.5.0.1 (Elephant)
|
Reads and consumes packets from a socket. More...
Public Types | |
using | ReadCallback = consumer< SocketOperationCode > |
Public Member Functions | |
virtual | ~SocketReader ()=default |
virtual void | read (const ReadCallback &callback)=0 |
Reads and consumes one or more packets and calls callback on completion. More... | |
Reads and consumes packets from a socket.
|
virtualdefault |
|
pure virtual |
Reads and consumes one or more packets and calls callback on completion.