Bitcoin ABC 0.30.3
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CNetMsgMaker Class Reference

#include <netmessagemaker.h>

Public Member Functions

 CNetMsgMaker (int nVersionIn)
 
template<typename... Args>
CSerializedNetMsg Make (int nFlags, std::string msg_type, Args &&...args) const
 
template<typename... Args>
CSerializedNetMsg Make (std::string msg_type, Args &&...args) const
 

Private Attributes

const int nVersion
 

Detailed Description

Definition at line 14 of file netmessagemaker.h.

Constructor & Destructor Documentation

◆ CNetMsgMaker()

CNetMsgMaker::CNetMsgMaker ( int  nVersionIn)
inlineexplicit

Definition at line 16 of file netmessagemaker.h.

Member Function Documentation

◆ Make() [1/2]

template<typename... Args>
CSerializedNetMsg CNetMsgMaker::Make ( int  nFlags,
std::string  msg_type,
Args &&...  args 
) const
inline

Definition at line 19 of file netmessagemaker.h.

Here is the caller graph for this function:

◆ Make() [2/2]

template<typename... Args>
CSerializedNetMsg CNetMsgMaker::Make ( std::string  msg_type,
Args &&...  args 
) const
inline

Definition at line 29 of file netmessagemaker.h.

Here is the call graph for this function:

Member Data Documentation

◆ nVersion

const int CNetMsgMaker::nVersion
private

Definition at line 34 of file netmessagemaker.h.


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