public class QosOwnership extends Parameter implements DataReaderPolicy<QosOwnership>, TopicPolicy<QosOwnership>, DataWriterPolicy<QosOwnership>, InlineQoS
| Modifier and Type | Class and Description |
|---|---|
static class |
QosOwnership.Kind |
| Constructor and Description |
|---|
QosOwnership(QosOwnership.Kind kind)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static QosOwnership |
defaultOwnership()
Get the default QosOwnership: SHARED
|
QosOwnership.Kind |
getKind() |
boolean |
isCompatible(QosOwnership 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, writeBytespublic QosOwnership(QosOwnership.Kind kind)
kind - SHARED or EXCLUSIVEpublic void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameterpublic QosOwnership.Kind getKind()
public boolean isCompatible(QosOwnership other)
QosPolicyisCompatible in interface QosPolicy<QosOwnership>other - Requested QosPolicypublic static QosOwnership defaultOwnership()
Copyright © 2016. All rights reserved.