public class InfoReplyIp4 extends SubMessage
SubMessage.Kind| Modifier and Type | Field and Description |
|---|---|
static int |
KIND |
header| Constructor and Description |
|---|
InfoReplyIp4(LocatorUDPv4_t unicastLocator,
LocatorUDPv4_t multicastLocator) |
| Modifier and Type | Method and Description |
|---|---|
LocatorUDPv4_t |
getMulticastLocator()
Gets the multicast locator, if present.
|
LocatorUDPv4_t |
getUnicastLocator()
Gets the unicast locator, if present
|
boolean |
multicastFlag()
Returns the MulticastFlag.
|
void |
writeTo(RTPSByteBuffer bb)
Writes this SubMessage into given RTPSByteBuffer.
|
getHeader, getKind, toStringpublic static final int KIND
public InfoReplyIp4(LocatorUDPv4_t unicastLocator, LocatorUDPv4_t multicastLocator)
public boolean multicastFlag()
public LocatorUDPv4_t getUnicastLocator()
LocatorUDPv4_t or null if no unicast locator is presentpublic LocatorUDPv4_t getMulticastLocator()
LocatorUDPv4_t or null if no multicast locator is presentpublic void writeTo(RTPSByteBuffer bb)
SubMessagewriteTo in class SubMessagebb - RTPSByteBufferCopyright © 2016. All rights reserved.