RTI Connext Java API
Version 6.1.0
|
<<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. More... | |
Public Attributes | |
int | kind |
The kind of locator. More... | |
int | port |
the port number More... | |
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. More... | |
Static Public Attributes | |
static final int | KIND_INVALID |
Locator of this kind is invalid. More... | |
static final int | PORT_INVALID |
An invalid port. More... | |
static final byte [] | ADDRESS_INVALID |
An invalid address. More... | |
static final Locator_t | INVALID |
An invalid locator. More... | |
static final int | KIND_UDPv4 |
A locator for a UDPv4 address. More... | |
static final int | KIND_UDPv4_WAN |
A locator for a UDPv4 asymmetric transport address. More... | |
static final int | KIND_SHMEM |
A locator for an address acessed via shared memory. More... | |
static final int | KIND_SHMEM_510 |
A locator for an address acessed via shared memory for RTI Connext 5.1.0 and earlier. More... | |
static final int | KIND_UDPv6 |
A locator for a UDPv6 address. More... | |
static final int | KIND_UDPv6_510 |
A locator for a UDPv6 address for RTI Connext 5.1.0 and earlier. More... | |
static final int | KIND_RESERVED |
Locator of this kind is reserved. More... | |
static final int | ADDRESS_LENGTH_MAX = 16 |
Declares length of address field in locator. More... | |
<<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.
References ShortSeq.add(), ShortSeq.getMaximum(), ShortSeq.getShort(), Locator_t.kind, Locator_t.port, AbstractSequence.remove(), ShortSeq.setShort(), and AbstractPrimitiveSequence.size().
|
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 a UDPv4 asymmetric transport 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.
Referenced by Locator_t.Locator_t().
int port |
the port number
Referenced by Locator_t.Locator_t().
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.