org.jacorb.dds
Class DomainParticipantImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.dds.DomainParticipantPOA
          extended by org.jacorb.dds.DomainParticipantImpl
All Implemented Interfaces:
InvokeHandler, DomainParticipantOperations, EntityOperations

public class DomainParticipantImpl
extends DomainParticipantPOA

The DomainParticipant object plays several roles: - It acts as a container for all other Entity objects - It acts as factory for the Publisher, Subscriber, Topic and MultiTopic Entity objects. - It represents the participation of the application on a communication plane that isolates applications running on the same set of physical computers from each other. A domain establishes a 'virtual network' linking all applications that share the same domainId9 and isolating them from applications running on different domains. In this way, several independent distributed applications can coexist in the same physical network without interfering, or even being aware of each other. - It provides administration services in the domain, offering operations that allow the application to 'ignore' locally any information about a given participant


Constructor Summary
DomainParticipantImpl(int domainId, DomainParticipantQos qos, DomainParticipantListener a_listener)
           
 
Method Summary
 void addPublisher(Publisher Pub)
           
 void addsubscriber(Subscriber Sub)
           
 void addTopic(Topic Top)
           
 void assert_liveliness()
          Not Implemented
 ContentFilteredTopic create_contentfilteredtopic(String name, Topic related_topic, String filter_expression, String[] filter_parameters)
          Not Implemented
 MultiTopic create_multitopic(String name, String type_name, String subscription_expression, String[] expression_parameters)
          Not Implemented
 Publisher create_publisher(PublisherQos qos, PublisherListener a_listener)
           
 Subscriber create_subscriber(SubscriberQos qos, SubscriberListener a_listener)
           
 Topic create_topic(String topic_name, String type_name, TopicQos qos, TopicListener a_listener)
           
 int delete_contained_entities()
          Not Implemented
 int delete_contentfilteredtopic(ContentFilteredTopic a_contentfilteredtopic)
          Not Implemented
 int delete_multitopic(MultiTopic a_multitopic)
          Not Implemented
 int delete_publisher(Publisher p)
           
 int delete_subscriber(Subscriber s)
           
 int delete_topic(Topic a_topic)
           
 void deletePublisher(Publisher Pub)
           
 void deleteSubscriber(Subscriber Sub)
           
 void deleteTopic(Topic Top)
           
 int enable()
          Not Implemented
 Topic find_topic(String topic_name, Duration_t timeout)
           
 Subscriber get_builtin_subscriber()
          Not Implemented
 void get_default_publisher_qos(PublisherQosHolder qos)
          Not Implemented
 void get_default_subscriber_qos(SubscriberQosHolder qos)
          Not Implemented
 void get_default_topic_qos(TopicQosHolder qos)
          Not Implemented
 int get_domain_id()
          Not Implemented
 DomainParticipantListener get_listener()
          Not Implemented
 void get_qos(DomainParticipantQosHolder qos)
           
 int get_status_changes()
          Not Implemented
 StatusCondition get_statuscondition()
          Not Implemented
 Vector getVector_Publisher()
           
 Vector getVector_Subscriber()
           
 Vector getVector_Topic()
           
 int ignore_participant(int handle)
          Not Implemented
 int ignore_publication(int handle)
          Not Implemented
 int ignore_subscription(int handle)
          Not Implemented
 int ignore_topic(int handle)
          Not Implemented
 boolean isDeletable()
           
 TopicDescription lookup_topicdescription(String name)
           
 int set_default_publisher_qos(PublisherQos qos)
          Not Implemented
 int set_default_subscriber_qos(SubscriberQos qos)
          Not Implemented
 int set_default_topic_qos(TopicQos qos)
          Not Implemented
 int set_listener(DomainParticipantListener a_listener, int mask)
           
 int set_qos(DomainParticipantQos qos)
           
 void setORB(ORB orb)
          Sets the oRB attribute of the RepertoryImpl object
 void setPOA(POA poa)
          Sets the pOA attribute of the RepertoryImpl object
 
Methods inherited from class org.omg.dds.DomainParticipantPOA
_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

DomainParticipantImpl

public DomainParticipantImpl(int domainId,
                             DomainParticipantQos qos,
                             DomainParticipantListener a_listener)
Parameters:
domainId -
qos -
a_listener -
Method Detail

addPublisher

public void addPublisher(Publisher Pub)
Parameters:
Pub -

deletePublisher

public void deletePublisher(Publisher Pub)
Parameters:
Pub -

addsubscriber

public void addsubscriber(Subscriber Sub)
Parameters:
Sub -

deleteSubscriber

public void deleteSubscriber(Subscriber Sub)
Parameters:
Sub -

addTopic

public void addTopic(Topic Top)
Parameters:
Top -

deleteTopic

public void deleteTopic(Topic Top)
Parameters:
Top -

setPOA

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

Parameters:
poa - The new pOA value

setORB

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

Parameters:
orb - The new oRB value

create_publisher

public Publisher create_publisher(PublisherQos qos,
                                  PublisherListener a_listener)
Parameters:
qos -
a_listener -
Returns:

delete_publisher

public int delete_publisher(Publisher p)
Parameters:
p -
Returns:

create_subscriber

public Subscriber create_subscriber(SubscriberQos qos,
                                    SubscriberListener a_listener)
Parameters:
qos -
a_listener -
Returns:

delete_subscriber

public int delete_subscriber(Subscriber s)
Parameters:
s -
Returns:

get_builtin_subscriber

public Subscriber get_builtin_subscriber()
Not Implemented

Returns:

create_topic

public Topic create_topic(String topic_name,
                          String type_name,
                          TopicQos qos,
                          TopicListener a_listener)
Parameters:
topic_name -
type_name -
qos -
a_listener -
Returns:

delete_topic

public int delete_topic(Topic a_topic)
Parameters:
a_topic -
Returns:

find_topic

public Topic find_topic(String topic_name,
                        Duration_t timeout)

lookup_topicdescription

public TopicDescription lookup_topicdescription(String name)
Parameters:
name -
Returns:

create_contentfilteredtopic

public ContentFilteredTopic create_contentfilteredtopic(String name,
                                                        Topic related_topic,
                                                        String filter_expression,
                                                        String[] filter_parameters)
Not Implemented

Returns:

delete_contentfilteredtopic

public int delete_contentfilteredtopic(ContentFilteredTopic a_contentfilteredtopic)
Not Implemented

Returns:

create_multitopic

public MultiTopic create_multitopic(String name,
                                    String type_name,
                                    String subscription_expression,
                                    String[] expression_parameters)
Not Implemented

Returns:

delete_multitopic

public int delete_multitopic(MultiTopic a_multitopic)
Not Implemented

Returns:

delete_contained_entities

public int delete_contained_entities()
Not Implemented

Returns:

set_qos

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

get_qos

public void get_qos(DomainParticipantQosHolder qos)
Parameters:
qos -

set_listener

public int set_listener(DomainParticipantListener a_listener,
                        int mask)
Parameters:
a_listener -
mask -
Returns:

get_listener

public DomainParticipantListener get_listener()
Not Implemented

Returns:

ignore_participant

public int ignore_participant(int handle)
Not Implemented

Returns:

ignore_topic

public int ignore_topic(int handle)
Not Implemented

Returns:

ignore_publication

public int ignore_publication(int handle)
Not Implemented

Returns:

ignore_subscription

public int ignore_subscription(int handle)
Not Implemented

Returns:

get_domain_id

public int get_domain_id()
Not Implemented

Returns:

assert_liveliness

public void assert_liveliness()
Not Implemented


set_default_publisher_qos

public int set_default_publisher_qos(PublisherQos qos)
Not Implemented

Returns:

get_default_publisher_qos

public void get_default_publisher_qos(PublisherQosHolder qos)
Not Implemented


set_default_subscriber_qos

public int set_default_subscriber_qos(SubscriberQos qos)
Not Implemented

Returns:

get_default_subscriber_qos

public void get_default_subscriber_qos(SubscriberQosHolder qos)
Not Implemented


set_default_topic_qos

public int set_default_topic_qos(TopicQos qos)
Not Implemented

Returns:

get_default_topic_qos

public void get_default_topic_qos(TopicQosHolder qos)
Not Implemented


enable

public int enable()
Not Implemented

Returns:

get_statuscondition

public StatusCondition get_statuscondition()
Not Implemented

Returns:

get_status_changes

public int get_status_changes()
Not Implemented

Returns:

getVector_Publisher

public Vector getVector_Publisher()
Returns:
Returns the vector_Publisher.

getVector_Subscriber

public Vector getVector_Subscriber()
Returns:
Returns the vector_Subscriber.

getVector_Topic

public Vector getVector_Topic()
Returns:
Returns the vector_Topic.

isDeletable

public boolean isDeletable()
Returns:


Copyright © 2015 JacORB. All rights reserved.