CoreDX DDS for Java
from Twin Oaks Computing, Inc.

com.toc.coredx.DDS
Class PartitionQosPolicy

java.lang.Object
  extended by com.toc.coredx.DDS.PartitionQosPolicy

public class PartitionQosPolicy
extends java.lang.Object

Defines a logical data partition. This QoS is assigned to a Publisher or Subscriber. DataWriters and DataReaders exist within the partition defined by their parent. DataWriters and DataReaders communicate only if they have a matching partition (and all other QoS and topic parameters match).

The partition QoS can be changed dynamically. Dynamic changes to partition may cause new matches between DataWriters and DataReaders or may break existing matches.

The partition QoS comprises a vector of Strings. Two Partitions 'match' if any string in one matches any string in the other.

A partition string may be a regular expression with wildcards as defined by POSIX fnmatch API (1003.2-1992 section B.6). An empty Partition, that is a Partition with an empty name vector, is treated as a Partition with a single empty string of "".


Field Summary
 java.util.Vector<java.lang.String> name
           
 
Constructor Summary
PartitionQosPolicy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.util.Vector<java.lang.String> name
Constructor Detail

PartitionQosPolicy

public PartitionQosPolicy()

Copyright © 2010 Twin Oaks Computing, Inc,
All Rights Reserved