rippled
Public Member Functions | Public Attributes | List of all members
ripple::Port Struct Reference

Configuration information for a Server listening port. More...

Collaboration diagram for ripple::Port:
Collaboration graph
[legend]

Public Member Functions

 Port ()=default
 
bool websockets () const
 
bool secure () const
 
std::string protocols () const
 

Public Attributes

std::string name
 
boost::asio::ip::address ip
 
std::uint16_t port = 0
 
std::set< std::string, boost::beast::iless > protocol
 
std::vector< boost::asio::ip::network_v4 > admin_nets_v4
 
std::vector< boost::asio::ip::network_v6 > admin_nets_v6
 
std::vector< boost::asio::ip::network_v4 > secure_gateway_nets_v4
 
std::vector< boost::asio::ip::network_v6 > secure_gateway_nets_v6
 
std::string user
 
std::string password
 
std::string admin_user
 
std::string admin_password
 
std::string ssl_key
 
std::string ssl_cert
 
std::string ssl_chain
 
std::string ssl_ciphers
 
boost::beast::websocket::permessage_deflate pmd_options
 
std::shared_ptr< boost::asio::ssl::context > context
 
int limit = 0
 
std::uint16_t ws_queue_limit
 

Detailed Description

Configuration information for a Server listening port.

Definition at line 48 of file Port.h.

Constructor & Destructor Documentation

◆ Port()

ripple::Port::Port ( )
explicitdefault

Member Function Documentation

◆ websockets()

bool ripple::Port::websockets ( ) const

◆ secure()

bool ripple::Port::secure ( ) const

Definition at line 31 of file Port.cpp.

◆ protocols()

std::string ripple::Port::protocols ( ) const

Definition at line 38 of file Port.cpp.

Member Data Documentation

◆ name

std::string ripple::Port::name

Definition at line 52 of file Port.h.

◆ ip

boost::asio::ip::address ripple::Port::ip

Definition at line 53 of file Port.h.

◆ port

std::uint16_t ripple::Port::port = 0

Definition at line 54 of file Port.h.

◆ protocol

std::set<std::string, boost::beast::iless> ripple::Port::protocol

Definition at line 55 of file Port.h.

◆ admin_nets_v4

std::vector<boost::asio::ip::network_v4> ripple::Port::admin_nets_v4

Definition at line 56 of file Port.h.

◆ admin_nets_v6

std::vector<boost::asio::ip::network_v6> ripple::Port::admin_nets_v6

Definition at line 57 of file Port.h.

◆ secure_gateway_nets_v4

std::vector<boost::asio::ip::network_v4> ripple::Port::secure_gateway_nets_v4

Definition at line 58 of file Port.h.

◆ secure_gateway_nets_v6

std::vector<boost::asio::ip::network_v6> ripple::Port::secure_gateway_nets_v6

Definition at line 59 of file Port.h.

◆ user

std::string ripple::Port::user

Definition at line 60 of file Port.h.

◆ password

std::string ripple::Port::password

Definition at line 61 of file Port.h.

◆ admin_user

std::string ripple::Port::admin_user

Definition at line 62 of file Port.h.

◆ admin_password

std::string ripple::Port::admin_password

Definition at line 63 of file Port.h.

◆ ssl_key

std::string ripple::Port::ssl_key

Definition at line 64 of file Port.h.

◆ ssl_cert

std::string ripple::Port::ssl_cert

Definition at line 65 of file Port.h.

◆ ssl_chain

std::string ripple::Port::ssl_chain

Definition at line 66 of file Port.h.

◆ ssl_ciphers

std::string ripple::Port::ssl_ciphers

Definition at line 67 of file Port.h.

◆ pmd_options

boost::beast::websocket::permessage_deflate ripple::Port::pmd_options

Definition at line 68 of file Port.h.

◆ context

std::shared_ptr<boost::asio::ssl::context> ripple::Port::context

Definition at line 69 of file Port.h.

◆ limit

int ripple::Port::limit = 0

Definition at line 73 of file Port.h.

◆ ws_queue_limit

std::uint16_t ripple::Port::ws_queue_limit

Definition at line 76 of file Port.h.