xrpld
Loading...
Searching...
No Matches
xrpl::Port Struct Reference

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

#include <Port.h>

Collaboration diagram for xrpl::Port:

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 > adminNetsV4
std::vector< boost::asio::ip::network_v6 > adminNetsV6
std::vector< boost::asio::ip::network_v4 > secureGatewayNetsV4
std::vector< boost::asio::ip::network_v6 > secureGatewayNetsV6
std::string user
std::string password
std::string adminUser
std::string adminPassword
std::string sslKey
std::string sslCert
std::string sslChain
std::string sslCiphers
boost::beast::websocket::permessage_deflate pmdOptions
std::shared_ptr< boost::asio::ssl::context > context
int limit = 0
std::uint16_t wsQueueLimit {}

Detailed Description

Configuration information for a Server listening port.

Definition at line 27 of file Port.h.

Constructor & Destructor Documentation

◆ Port()

xrpl::Port::Port ( )
explicitdefault

Member Function Documentation

◆ websockets()

bool xrpl::Port::websockets ( ) const
nodiscard

◆ secure()

bool xrpl::Port::secure ( ) const
nodiscard

Definition at line 28 of file Port.cpp.

◆ protocols()

std::string xrpl::Port::protocols ( ) const
nodiscard

Definition at line 35 of file Port.cpp.

Member Data Documentation

◆ name

std::string xrpl::Port::name

Definition at line 31 of file Port.h.

◆ ip

boost::asio::ip::address xrpl::Port::ip

Definition at line 32 of file Port.h.

◆ port

std::uint16_t xrpl::Port::port = 0

Definition at line 33 of file Port.h.

◆ protocol

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

Definition at line 34 of file Port.h.

◆ adminNetsV4

std::vector<boost::asio::ip::network_v4> xrpl::Port::adminNetsV4

Definition at line 35 of file Port.h.

◆ adminNetsV6

std::vector<boost::asio::ip::network_v6> xrpl::Port::adminNetsV6

Definition at line 36 of file Port.h.

◆ secureGatewayNetsV4

std::vector<boost::asio::ip::network_v4> xrpl::Port::secureGatewayNetsV4

Definition at line 37 of file Port.h.

◆ secureGatewayNetsV6

std::vector<boost::asio::ip::network_v6> xrpl::Port::secureGatewayNetsV6

Definition at line 38 of file Port.h.

◆ user

std::string xrpl::Port::user

Definition at line 39 of file Port.h.

◆ password

std::string xrpl::Port::password

Definition at line 40 of file Port.h.

◆ adminUser

std::string xrpl::Port::adminUser

Definition at line 41 of file Port.h.

◆ adminPassword

std::string xrpl::Port::adminPassword

Definition at line 42 of file Port.h.

◆ sslKey

std::string xrpl::Port::sslKey

Definition at line 43 of file Port.h.

◆ sslCert

std::string xrpl::Port::sslCert

Definition at line 44 of file Port.h.

◆ sslChain

std::string xrpl::Port::sslChain

Definition at line 45 of file Port.h.

◆ sslCiphers

std::string xrpl::Port::sslCiphers

Definition at line 46 of file Port.h.

◆ pmdOptions

boost::beast::websocket::permessage_deflate xrpl::Port::pmdOptions

Definition at line 47 of file Port.h.

◆ context

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

Definition at line 48 of file Port.h.

◆ limit

int xrpl::Port::limit = 0

Definition at line 52 of file Port.h.

◆ wsQueueLimit

std::uint16_t xrpl::Port::wsQueueLimit {}

Definition at line 55 of file Port.h.