public class ProtocolVersion extends Parameter
Modifier and Type | Field and Description |
---|---|
static ProtocolVersion |
PROTOCOLVERSION_1_0 |
static ProtocolVersion |
PROTOCOLVERSION_1_1 |
static ProtocolVersion |
PROTOCOLVERSION_2_0 |
static ProtocolVersion |
PROTOCOLVERSION_2_1 |
static ProtocolVersion |
PROTOCOLVERSION_2_2 |
Constructor and Description |
---|
ProtocolVersion(RTPSByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
byte |
getMajor()
Gets the major version number
|
byte |
getMinor()
Gets the minor version number
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer buffer)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public static final ProtocolVersion PROTOCOLVERSION_1_0
public static final ProtocolVersion PROTOCOLVERSION_1_1
public static final ProtocolVersion PROTOCOLVERSION_2_0
public static final ProtocolVersion PROTOCOLVERSION_2_1
public static final ProtocolVersion PROTOCOLVERSION_2_2
public ProtocolVersion(RTPSByteBuffer bb)
public byte getMajor()
public byte getMinor()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer buffer)
Parameter
Copyright © 2016. All rights reserved.