Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
dev::p2p::NetworkPreferences Struct Reference

#include <Network.h>

Public Member Functions

 NetworkPreferences (unsigned short lp=c_defaultListenPort)
 
 NetworkPreferences (std::string const &l, unsigned short lp=c_defaultListenPort, bool u=true)
 
 NetworkPreferences (std::string const &publicIP, std::string const &l=std::string(), unsigned short lp=c_defaultListenPort, bool u=true)
 

Public Attributes

std::string publicIPAddress
 Addressing. More...
 
std::string listenIPAddress
 
unsigned short listenPort = c_defaultListenPort
 
bool traverseNAT = true
 Preferences. More...
 
bool discovery = true
 
bool pin = false
 

Detailed Description

Definition at line 42 of file Network.h.

Constructor & Destructor Documentation

dev::p2p::NetworkPreferences::NetworkPreferences ( unsigned short  lp = c_defaultListenPort)
inline

Definition at line 45 of file Network.h.

dev::p2p::NetworkPreferences::NetworkPreferences ( std::string const &  l,
unsigned short  lp = c_defaultListenPort,
bool  u = true 
)
inline

Definition at line 48 of file Network.h.

dev::p2p::NetworkPreferences::NetworkPreferences ( std::string const &  publicIP,
std::string const &  l = std::string(),
unsigned short  lp = c_defaultListenPort,
bool  u = true 
)
inline

Definition at line 51 of file Network.h.

Here is the call graph for this function:

Member Data Documentation

bool dev::p2p::NetworkPreferences::discovery = true

Definition at line 63 of file Network.h.

std::string dev::p2p::NetworkPreferences::listenIPAddress

Definition at line 56 of file Network.h.

unsigned short dev::p2p::NetworkPreferences::listenPort = c_defaultListenPort

Definition at line 57 of file Network.h.

bool dev::p2p::NetworkPreferences::pin = false

Definition at line 64 of file Network.h.

std::string dev::p2p::NetworkPreferences::publicIPAddress

Addressing.

Definition at line 55 of file Network.h.

bool dev::p2p::NetworkPreferences::traverseNAT = true

Preferences.

Definition at line 62 of file Network.h.


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