CoreDX DDS C# Reference Manual
Public Member Functions | Public Attributes | List of all members
TcpTransportConfig Class Reference

Public Member Functions

 TcpTransportConfig ()
ReturnCode_t get_default_config ()
ReturnCode_t get_env_config ()

Public Attributes

short participant_index
List< IpTransportInterfaceinterfaces
bool dynamic_interfaces
int tx_max_packet_size

Detailed Description

Structure that holds TCP Transport configuration items.

See also
DomainParticipant::add_transport(Transport) add_transport()

Constructor & Destructor Documentation

TcpTransportConfig ( )

Constructor. Initializes all configuration items with default values.

Member Function Documentation

ReturnCode_t get_default_config ( )

Initialize the TcpTransportConfig object with default values. Currently assigned values may be overwritten by defaults.

ReturnCode_t get_env_config ( )

Query for environment variables that impact tcp transport configuration. Load the values (if any) into the TcpTransportConfig object. Currently assigned values may be overwritten by values derived from environment variables.

Member Data Documentation

bool dynamic_interfaces

detect and handle changes to interface addresses

List<IpTransportInterface> interfaces

default: empty -> use all available interfaces

short participant_index

-1: auto detect; else force (may fail if another participant is using the ports (can't exceed 120)

int tx_max_packet_size

default: 64K (to match UDP limit)

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.