![]() |
Bitcoin ABC 0.32.6
P2P Digital Currency
|
The TransportDeserializer takes care of holding and deserializing the network receive buffer. More...
#include <net.h>
Public Member Functions | |
| virtual bool | Complete () const =0 |
| virtual int | Read (const Config &config, Span< const uint8_t > &msg_bytes)=0 |
| read and deserialize data, advances msg_bytes data pointer More... | |
| virtual CNetMessage | GetMessage (const Config &config, std::chrono::microseconds time)=0 |
| virtual | ~TransportDeserializer () |
The TransportDeserializer takes care of holding and deserializing the network receive buffer.
It can deserialize the network buffer into a transport protocol agnostic CNetMessage (message type & payload)
|
inlinevirtual |
|
pure virtual |
Implemented in V1TransportDeserializer.
|
pure virtual |
Implemented in V1TransportDeserializer.
|
pure virtual |
read and deserialize data, advances msg_bytes data pointer
Implemented in V1TransportDeserializer.