CoreDX DDS
Java Reference Manual

UdpTransportConfig Class Reference
[CoreDX DDS Transports]

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

List of all members.

Public Member Functions

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

Public Attributes

short participant_index
boolean use_ipv4
boolean use_ipv6
Vector< IpTransportInterfaceinterfaces
boolean dynamic_interfaces
int rx_init_buffer_size
int rx_max_buffer_size
int tx_max_packet_size
int so_rcvbuf
int so_sndbuf
byte multicast_address_v4 []
byte multicast_address_v6 []
byte multicast_ttl
boolean tx_meta_multicast
boolean tx_meta_unicast
boolean rx_meta_multicast
boolean rx_user_multicast
boolean advertise_meta_multicast
boolean advertise_user_multicast
byte broadcast_address []
boolean do_meta_broadcast

Detailed Description

Structure that holds UDP Transport configuration items.

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

Member Function Documentation

ReturnCode_t get_default_config (  )  [inline]

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

ReturnCode_t get_env_config (  )  [inline]

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


Member Data Documentation

advertise we can RX META MULTICAST

advertise we can RX USER MULTICAST

4 byte IPv4 address. Default: 255.255.255.255

enable broadcast of META (DPD discovery) data default: 0 (off)

detect and handle changes to interface addresses

default: empty -> use all available interfaces

4 byte IPv4 address. Default: [ 239 255 0 1 ] per the standard

16 byte IPv6 address. Default: [ ff03:0000:0000:0000:0000:efff:0001 ]

default: 1 (0: disable all MCAST TX)

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

initial size of data buffer

maximum size of data buffer

enable META MULTICAST (discovery) RX

enable USER MULTICAST (data) RX

int so_rcvbuf

socket RCVBUF size (set to -1 to use OS default)

int so_sndbuf

socket SNDBUF size (set to -1 to use OS default)

default: 64K (udp limit)

enable META MULTICAST (discovery) TX

boolean tx_meta_unicast

enable META UNICAST (discovery) TX

boolean use_ipv4

Support IPv4 communications (default ON (1))

boolean use_ipv6

Support IPv4 communications (default OFF(0))

 All Classes Functions Variables

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