Bitcoin ABC 0.26.3
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 void | SetVersion (int version)=0 |
virtual int | Read (const Config &config, Span< const uint8_t > &msg_bytes)=0 |
read and deserialize data, advances msg_bytes data pointer | |
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 (command & payload)
|
inlinevirtual |
Implemented in V1TransportDeserializer.
|
pure virtual |
Implemented in V1TransportDeserializer.
|
pure virtual |
read and deserialize data, advances msg_bytes data pointer
Implemented in V1TransportDeserializer.
Implemented in V1TransportDeserializer.