Equity
Bitcoin Protocol Library
Public Member Functions | List of all members
Network::Message Class Reference

All network message classes are derived from this class. More...

#include <Message.h>

Inheritance diagram for Network::Message:
P2p::Serializable Network::AddressMessage Network::AlertMessage Network::BlockMessage Network::CheckOrderMessage Network::FilterAddMessage Network::FilterClearMessage Network::FilterLoadMessage Network::GetAddrMessage Network::GetBlocksMessage Network::GetDataMessage Network::GetHeadersMessage Network::HeadersMessage Network::InventoryMessage Network::MerkleBlockMessage Network::NotFoundMessage Network::PingMessage Network::PongMessage Network::RejectMessage Network::ReplyMessage Network::RequestTransactionsMessage Network::SendHeadersMessage Network::SubmitOrderMessage Network::TransactionMessage Network::VerackMessage Network::VersionMessage

Public Member Functions

 Message (char const *type)
 
std::string type () const
 Returns the type.
 
- Public Member Functions inherited from P2p::Serializable
virtual void serialize (std::vector< uint8_t > &out) const =0
 Serializes the object. More...
 
virtual json toJson () const =0
 Converts the object to a JSON object. More...
 

Detailed Description

All network message classes are derived from this class.

Constructor & Destructor Documentation

Message::Message ( char const *  type)
explicit
Parameters
typestring used to identify the message type during deserialization

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