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

Public Member Functions

 LmtTransportConfig ()
ReturnCode_t get_default_config ()
ReturnCode_t get_env_config ()

Public Attributes

int so_sndbuf
int so_rcvbuf
uint max_tx_size
uint max_rx_buf_size
uint debug_flags

Detailed Description

Structure that holds LMT Transport configuration items.

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

Constructor & Destructor Documentation

LmtTransportConfig ( )

Constructor. Initializes all configuration items with default values.

Member Function Documentation

ReturnCode_t get_default_config ( )

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

ReturnCode_t get_env_config ( )

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

Member Data Documentation

uint debug_flags

configure debug output of the transport

uint max_rx_buf_size

limit size of RX buffer (per connection)

uint max_tx_size

largest LMT packet size we transmit (default: 8192, max: 64K)

int so_rcvbuf

size in bytes for socket RCVBUF

int so_sndbuf

size in bytes for socket SNDBUF

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