Bitcoin Core  26.99.0
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 12 of file netmessagemaker.h.

Constructor & Destructor Documentation

◆ CNetMsgMaker()

CNetMsgMaker::CNetMsgMaker ( int  nVersionIn)
inlineexplicit

Definition at line 15 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 18 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 27 of file netmessagemaker.h.

Here is the call graph for this function:

Member Data Documentation

◆ nVersion

const int CNetMsgMaker::nVersion
private

Definition at line 33 of file netmessagemaker.h.


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