Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CNetMsgMaker Class Reference
#include <netmessagemaker.h>
Public Member Functions | |
CNetMsgMaker (int nVersionIn) | |
template<typename... Args> | |
CSerializedNetMsg | Make (int nFlags, std::string sCommand, Args &&... args) const |
template<typename... Args> | |
CSerializedNetMsg | Make (std::string sCommand, Args &&... args) const |
Private Attributes | |
const int | nVersion |
Detailed Description
Definition at line 12 of file netmessagemaker.h.
Constructor & Destructor Documentation
◆ CNetMsgMaker()
|
inlineexplicit |
Definition at line 15 of file netmessagemaker.h.
Member Function Documentation
◆ Make() [1/2]
template<typename... Args>
|
inline |
Definition at line 18 of file netmessagemaker.h.
References CSerializedNetMsg::command, CSerializedNetMsg::data, nVersion, and SER_NETWORK.
Referenced by Make(), and PeerLogicValidation::NewPoWValidBlock().
◆ Make() [2/2]
template<typename... Args>
|
inline |
Definition at line 28 of file netmessagemaker.h.
References Make().
Member Data Documentation
◆ nVersion
|
private |
Definition at line 34 of file netmessagemaker.h.
Referenced by Make().
The documentation for this class was generated from the following file: