RTI Connext Java API
Version 5.3.1
|
<<extension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports. More...
Inherits Struct.
Public Member Functions | |
Locator_t () | |
Constructor. | |
Public Member Functions inherited from Struct | |
abstract boolean | equals (Object obj) |
abstract int | hashCode () |
String | toString () |
Public Attributes | |
int | kind |
The kind of locator. | |
int | port |
the port number | |
final byte[] | address = new byte[ADDRESS_LENGTH_MAX] |
A com.rti.dds.infrastructure.Locator_t.ADDRESS_LENGTH_MAX octet field to hold the IP address. | |
Static Public Attributes | |
static final int | KIND_INVALID |
Locator of this kind is invalid. | |
static final int | PORT_INVALID |
An invalid port. | |
static final byte[] | ADDRESS_INVALID |
An invalid address. | |
static final Locator_t | INVALID |
An invalid locator. | |
static final int | KIND_UDPv4 |
A locator for a UDPv4 address. | |
static final int | KIND_SHMEM |
A locator for an address acessed via shared memory. | |
static final int | KIND_SHMEM_510 |
A locator for an address acessed via shared memory for RTI Connext 5.1.0 and earlier. | |
static final int | KIND_UDPv6 |
A locator for a UDPv6 address. | |
static final int | KIND_UDPv6_510 |
A locator for a UDPv6 address for RTI Connext 5.1.0 and earlier. | |
static final int | KIND_RESERVED |
Locator of this kind is reserved. | |
static final int | ADDRESS_LENGTH_MAX = 16 |
Declares length of address field in locator. | |
Additional Inherited Members | |
Protected Member Functions inherited from Struct | |
Struct () | |
abstract void | pull_from_nativeI (long native_status) |
abstract void | push_to_nativeI (long native_status) |
<<extension>> Type used to represent the addressing information needed to send a message to an RTPS Endpoint using one of the supported transports.
Locator_t | ( | ) |
Constructor.
|
static |
Locator of this kind is invalid.
|
static |
An invalid port.
|
static |
An invalid address.
|
static |
A locator for a UDPv4 address.
|
static |
A locator for an address acessed via shared memory.
|
static |
A locator for an address acessed via shared memory for RTI Connext 5.1.0 and earlier.
|
static |
A locator for a UDPv6 address.
|
static |
A locator for a UDPv6 address for RTI Connext 5.1.0 and earlier.
|
static |
Locator of this kind is reserved.
|
static |
Declares length of address field in locator.
int kind |
The kind of locator.
If the Locator_t kind is com.rti.dds.infrastructure.Locator_t.KIND_UDPv4, the address contains an IPv4 address. In this case, the leading 12 octets of the com.rti.dds.infrastructure.Locator_t.address must be zero. The last 4 octets of com.rti.dds.infrastructure.Locator_t.address are used to store the IPv4 address.
If the Locator_t kind is com.rti.dds.infrastructure.Locator_t.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 com.rti.dds.infrastructure.Locator_t.address field.
int port |
the port number
final byte [] address = new byte[ADDRESS_LENGTH_MAX] |
A com.rti.dds.infrastructure.Locator_t.ADDRESS_LENGTH_MAX octet field to hold the IP address.