public class QosUserData extends Parameter implements DataReaderPolicy<QosUserData>, DataWriterPolicy<QosUserData>, Changeable
Constructor and Description |
---|
QosUserData(byte[] userData) |
Modifier and Type | Method and Description |
---|---|
static QosUserData |
defaultUserData() |
byte[] |
getUserData()
Gets the user data
|
boolean |
isCompatible(QosUserData other)
Checks, if this QosPolicy is compatible with other QosPolicy.
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public byte[] getUserData()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
public boolean isCompatible(QosUserData other)
QosPolicy
isCompatible
in interface QosPolicy<QosUserData>
other
- Requested QosPolicypublic static QosUserData defaultUserData()
Copyright © 2016. All rights reserved.