DDS::Locator_t Class Reference
[Built-in Topics]

<<eXtension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports. More...

#include <managed_infrastructure.h>

List of all members.

Public Attributes

System::Int32 kind
 The kind of locator.
System::UInt32 port
 the port number
array< System::Byte >^ address
 A DDS::Locator_t::LOCATOR_ADDRESS_LENGTH_MAX octet field to hold the IP address.

Properties

static System::Int32 LOCATOR_ADDRESS_LENGTH_MAX [get]
 Declares length of address field in locator.
static Locator_t^  LOCATOR_INVALID [get]
 An invalid locator.
static System::Int32 LOCATOR_KIND_INVALID [get]
 Locator of this kind is invalid.
static System::UInt32 LOCATOR_PORT_INVALID [get]
 An invalid port.
static array< System::Byte >^ LOCATOR_ADDRESS_INVALID [get]
 An invalid address.
static System::Int32 LOCATOR_KIND_UDPv4 [get]
 A locator for a UDPv4 address.
static System::Int32 LOCATOR_KIND_UDPv6 [get]
 A locator for a UDPv6 address.
static System::Int32 LOCATOR_KIND_RESERVED [get]
 Locator of this kind is reserved.
static System::Int32 LOCATOR_KIND_SHMEM [get]
 A locator for an address acessed via shared memory.


Detailed Description

<<eXtension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports.

Member Data Documentation

System::Int32 DDS::Locator_t::kind

The kind of locator.

If the Locator_t kind is DDS::Locator_t::LOCATOR_KIND_UDPv4, the address contains an IPv4 address. In this case, the leading 12 octets of the DDS::Locator_t::address must be zero. The last 4 octets of DDS::Locator_t::address are used to store the IPv4 address.

If the Locator_t kind is DDS::Locator_t::LOCATOR_KIND_UDPv6, the address contains an IPv6 address. IPv6 addresses typically use a shorthand hexadecimal notation that maps one-to-one to the 16 octets in the DDS::Locator_t::address field.

System::UInt32 DDS::Locator_t::port

the port number

array<System::Byte> ^ DDS::Locator_t::address

A DDS::Locator_t::LOCATOR_ADDRESS_LENGTH_MAX octet field to hold the IP address.


RTI Data Distribution Service .Net APIs Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc