org.omg.dds.domain
Class DomainParticipantFactory

java.lang.Object
  extended by org.omg.dds.domain.DomainParticipantFactory
All Implemented Interfaces:
DDSObject

public abstract class DomainParticipantFactory
extends java.lang.Object
implements DDSObject

The sole purpose of this class is to allow the creation and destruction of DomainParticipant objects. DomainParticipantFactory itself has no factory. It is a pre-existing per-Bootstrap singleton object that can be accessed by means of the getInstance(Bootstrap) operation on the DomainParticipantFactory.


Constructor Summary
DomainParticipantFactory()
           
 
Method Summary
abstract  DomainParticipant createParticipant()
          Create a new participant in the domain with ID 0 having default QoS and no listener.
abstract  DomainParticipant createParticipant(int domainId)
           
abstract  DomainParticipant createParticipant(int domainId, DomainParticipantQos qos, DomainParticipantListener listener, java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
          Create a new domain participant.
abstract  DomainParticipant createParticipant(int domainId, java.lang.String qosLibraryName, java.lang.String qosProfileName, DomainParticipantListener listener, java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
          Create a new domain participant.
abstract  DomainParticipantQos getDefaultParticipantQos()
           
static DomainParticipantFactory getInstance(Bootstrap bootstrap)
           
abstract  DomainParticipantFactoryQos getQos()
           
abstract  DomainParticipant lookupParticipant(int domainId)
           
abstract  void setDefaultParticipantQos(DomainParticipantQos qos)
           
abstract  void setDefaultParticipantQos(java.lang.String qosLibraryName, java.lang.String qosProfileName)
           
abstract  void setQos(DomainParticipantFactoryQos qos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Constructor Detail

DomainParticipantFactory

public DomainParticipantFactory()
Method Detail

getInstance

public static DomainParticipantFactory getInstance(Bootstrap bootstrap)
Parameters:
bootstrap - Identifies the Service instance to which the object will belong.

createParticipant

public abstract DomainParticipant createParticipant()
Create a new participant in the domain with ID 0 having default QoS and no listener.


createParticipant

public abstract DomainParticipant createParticipant(int domainId)

createParticipant

public abstract DomainParticipant createParticipant(int domainId,
                                                    DomainParticipantQos qos,
                                                    DomainParticipantListener listener,
                                                    java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
Create a new domain participant.

Parameters:
statuses - Of which status changes the listener should be notified. A null collection signifies all status changes.

createParticipant

public abstract DomainParticipant createParticipant(int domainId,
                                                    java.lang.String qosLibraryName,
                                                    java.lang.String qosProfileName,
                                                    DomainParticipantListener listener,
                                                    java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
Create a new domain participant.

Parameters:
statuses - Of which status changes the listener should be notified. A null collection signifies all status changes.

lookupParticipant

public abstract DomainParticipant lookupParticipant(int domainId)

getQos

public abstract DomainParticipantFactoryQos getQos()

setQos

public abstract void setQos(DomainParticipantFactoryQos qos)

getDefaultParticipantQos

public abstract DomainParticipantQos getDefaultParticipantQos()

setDefaultParticipantQos

public abstract void setDefaultParticipantQos(DomainParticipantQos qos)

setDefaultParticipantQos

public abstract void setDefaultParticipantQos(java.lang.String qosLibraryName,
                                              java.lang.String qosProfileName)


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.