CatapultServer  v0.5.0.1 (Elephant)
catapult::net::ConnectionSettings Struct Reference

Settings used to configure connections. More...

Collaboration diagram for catapult::net::ConnectionSettings:

Public Member Functions

 ConnectionSettings ()
 Creates default settings. More...
 
ionet::PacketSocketOptions toSocketOptions () const
 Gets the packet socket options represented by the configured settings. More...
 

Public Attributes

model::NetworkIdentifier NetworkIdentifier
 Network identifier. More...
 
utils::TimeSpan Timeout
 Connection timeout. More...
 
utils::FileSize SocketWorkingBufferSize
 Socket working buffer size. More...
 
size_t SocketWorkingBufferSensitivity
 Socket working buffer sensitivity. More...
 
utils::FileSize MaxPacketDataSize
 Maximum packet data size. More...
 
ionet::ConnectionSecurityMode OutgoingSecurityMode
 Security mode of outgoing connections initiated by this node. More...
 
ionet::ConnectionSecurityMode IncomingSecurityModes
 Accepted security modes of incoming connections initiated by other nodes. More...
 

Detailed Description

Settings used to configure connections.

Constructor & Destructor Documentation

◆ ConnectionSettings()

catapult::net::ConnectionSettings::ConnectionSettings ( )
inline

Creates default settings.

Member Function Documentation

◆ toSocketOptions()

ionet::PacketSocketOptions catapult::net::ConnectionSettings::toSocketOptions ( ) const
inline

Gets the packet socket options represented by the configured settings.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ IncomingSecurityModes

ionet::ConnectionSecurityMode catapult::net::ConnectionSettings::IncomingSecurityModes

Accepted security modes of incoming connections initiated by other nodes.

◆ MaxPacketDataSize

utils::FileSize catapult::net::ConnectionSettings::MaxPacketDataSize

Maximum packet data size.

◆ NetworkIdentifier

model::NetworkIdentifier catapult::net::ConnectionSettings::NetworkIdentifier

Network identifier.

◆ OutgoingSecurityMode

ionet::ConnectionSecurityMode catapult::net::ConnectionSettings::OutgoingSecurityMode

Security mode of outgoing connections initiated by this node.

◆ SocketWorkingBufferSensitivity

size_t catapult::net::ConnectionSettings::SocketWorkingBufferSensitivity

Socket working buffer sensitivity.

◆ SocketWorkingBufferSize

utils::FileSize catapult::net::ConnectionSettings::SocketWorkingBufferSize

Socket working buffer size.

◆ Timeout

utils::TimeSpan catapult::net::ConnectionSettings::Timeout

Connection timeout.


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