org.jacorb.dds
Class DomainParticipantFactoryImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.dds.DomainParticipantFactoryPOA
          extended by org.jacorb.dds.DomainParticipantFactoryImpl
All Implemented Interfaces:
InvokeHandler, DomainParticipantFactoryOperations

public class DomainParticipantFactoryImpl
extends DomainParticipantFactoryPOA

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


Constructor Summary
DomainParticipantFactoryImpl(ORB orb, POA poa)
           
 
Method Summary
 DomainParticipant create_participant(int domainId, DomainParticipantQos qos, DomainParticipantListener a_listener)
          This operation creates a new DomainParticipant object.
 int delete_participant(DomainParticipant a_participant)
          This operation deletes an existing DomainParticipant.
 void get_default_participant_qos(DomainParticipantQosHolder qos)
           
 ORB getOrb()
           
 POA getPoa()
           
 DomainParticipant has_domainId(int domainId)
           
 DomainParticipant lookup_participant(int domainId)
           
 int set_default_participant_qos(DomainParticipantQos qos)
           
 void setORB(ORB orb)
          Sets the oRB attribute of this object
 void setPOA(POA poa)
          Sets the pOA attribute of this object
 
Methods inherited from class org.omg.dds.DomainParticipantFactoryPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainParticipantFactoryImpl

public DomainParticipantFactoryImpl(ORB orb,
                                    POA poa)
Method Detail

setPOA

public void setPOA(POA poa)
Sets the pOA attribute of this object

Parameters:
poa - The new pOA value

setORB

public void setORB(ORB orb)
Sets the oRB attribute of this object

Parameters:
orb - The new oRB value

create_participant

public DomainParticipant create_participant(int domainId,
                                            DomainParticipantQos qos,
                                            DomainParticipantListener a_listener)
This operation creates a new DomainParticipant object. The DomainParticipant signifies that the calling application intends to join the Domain identified by the domainId argument.


delete_participant

public int delete_participant(DomainParticipant a_participant)
This operation deletes an existing DomainParticipant. This operation can only be invoked if all domain entities belonging to the participant have already been deleted.

Parameters:
a_participant -
Returns:
RETCODE_OK.value if succes Otherwise the error PRECONDITION_NOT_MET is returned.

has_domainId

public DomainParticipant has_domainId(int domainId)
Parameters:
domainId -
Returns:
a participant has a same domainId

lookup_participant

public DomainParticipant lookup_participant(int domainId)
Parameters:
domainId -
Returns:
a Participant has a same domaiId

set_default_participant_qos

public int set_default_participant_qos(DomainParticipantQos qos)
Parameters:
qos -
Returns:

get_default_participant_qos

public void get_default_participant_qos(DomainParticipantQosHolder qos)

getOrb

public ORB getOrb()
Returns:
Returns the orb.

getPoa

public POA getPoa()
Returns:
Returns the poa.


Copyright © 2015 JacORB. All rights reserved.