public class GuidPrefix extends Object
see 8.2.4.2 The GUIDs of RTPS Participants
see 9.3.1.1 Mapping of the GuidPrefix_t
Modifier and Type | Field and Description |
---|---|
static GuidPrefix |
GUIDPREFIX_SECURED
GuidPrefix used with SecureSubMessage
|
static GuidPrefix |
GUIDPREFIX_UNKNOWN |
Constructor and Description |
---|
GuidPrefix(byte[] bytes)
Create GuidPrefix with given byte array.
|
GuidPrefix(RTPSByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes()
Gets the bytes of this GuidPrefix
|
int |
hashCode() |
String |
toString() |
void |
writeTo(RTPSByteBuffer buffer) |
public static final GuidPrefix GUIDPREFIX_UNKNOWN
public static final GuidPrefix GUIDPREFIX_SECURED
public GuidPrefix(RTPSByteBuffer bb)
public GuidPrefix(byte[] bytes)
bytes
- bytes of the GuidPrefixIllegalArgumentException
- if length of the array is not 12public byte[] getBytes()
public void writeTo(RTPSByteBuffer buffer)
Copyright © 2016. All rights reserved.