public class QosPartition extends Parameter implements SubscriberPolicy<QosPartition>, PublisherPolicy<QosPartition>, InlineQoS, Changeable
Constructor and Description |
---|
QosPartition(String partition)
Constructor for QosPartition
|
QosPartition(String[] partitions)
Constructor for QosPartition
|
Modifier and Type | Method and Description |
---|---|
static QosPartition |
defaultPartition()
Default partition.
|
String[] |
getPartitions()
Gets all the defined partition names of this QosPartition.
|
boolean |
isCompatible(QosPartition other)
Checks whether or not two QosPartition policies are compatible or not.
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public QosPartition(String partition)
partition
- Name of the partitionpublic QosPartition(String[] partitions)
partitions
- Names of the partitionspublic String[] getPartitions()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
public boolean isCompatible(QosPartition other)
isCompatible
in interface QosPolicy<QosPartition>
other
- Requested QosPolicypublic static QosPartition defaultPartition()
Copyright © 2016. All rights reserved.