Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | List of all members
TransportDeserializer Class Referenceabstract

The TransportDeserializer takes care of holding and deserializing the network receive buffer. More...

#include <net.h>

Inheritance diagram for TransportDeserializer:
[legend]

Public Member Functions

virtual bool Complete () const =0
 
virtual void SetVersion (int version)=0
 
virtual int Read (const Config &config, const char *data, uint32_t bytes)=0
 
virtual CNetMessage GetMessage (const Config &config, std::chrono::microseconds time)=0
 
virtual ~TransportDeserializer ()
 

Detailed Description

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)

Definition at line 826 of file net.h.

Constructor & Destructor Documentation

◆ ~TransportDeserializer()

virtual TransportDeserializer::~TransportDeserializer ( )
inlinevirtual

Definition at line 838 of file net.h.

Member Function Documentation

◆ Complete()

virtual bool TransportDeserializer::Complete ( ) const
pure virtual

Implemented in V1TransportDeserializer.

◆ GetMessage()

virtual CNetMessage TransportDeserializer::GetMessage ( const Config config,
std::chrono::microseconds  time 
)
pure virtual

Implemented in V1TransportDeserializer.

◆ Read()

virtual int TransportDeserializer::Read ( const Config config,
const char *  data,
uint32_t  bytes 
)
pure virtual

Implemented in V1TransportDeserializer.

◆ SetVersion()

virtual void TransportDeserializer::SetVersion ( int  version)
pure virtual

Implemented in V1TransportDeserializer.


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