public class QosOwnershipStrength extends Parameter implements DataWriterPolicy<QosOwnershipStrength>, InlineQoS, Changeable
| Constructor and Description |
|---|
QosOwnershipStrength(int strength)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static QosOwnershipStrength |
defaultOwnershipStrength()
Get the default QosOwnershipStrength: 0
|
int |
getStrength()
Get the strength.
|
boolean |
isCompatible(QosOwnershipStrength 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 QosOwnershipStrength(int strength)
strength - Strengthpublic int getStrength()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameterpublic boolean isCompatible(QosOwnershipStrength other)
QosPolicyisCompatible in interface QosPolicy<QosOwnershipStrength>other - Requested QosPolicypublic static QosOwnershipStrength defaultOwnershipStrength()
Copyright © 2016. All rights reserved.