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

Structure that holds TCP Transport configuration items. More...

Public Member Functions

 TcpTransportConfig ()
 Constructor. Initializes all configuration items with default values.
 
ReturnCode_t get_default_config ()
 
ReturnCode_t get_env_config ()
 

Public Attributes

short participant_index
 
Vector< IpTransportInterfaceinterfaces
 
boolean dynamic_interfaces
 
int tx_max_packet_size
 

Detailed Description

Structure that holds TCP Transport configuration items.

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

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

boolean dynamic_interfaces

detect and handle changes to interface addresses

Vector<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 (udp limit)


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