org.jacorb.dds
Class PublisherImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.dds.PublisherPOA
          extended by org.jacorb.dds.PublisherImpl
All Implemented Interfaces:
InvokeHandler, EntityOperations, PublisherOperations

public class PublisherImpl
extends PublisherPOA

A Publisher is the object responsible for the actual dissemination of publications. The Publisher acts on the behalf of one or several DataWriter objects that belong to it. When it is informed of a change to the data associated with one of its DataWriter objects, it decides when it is appropriate to actually send the data-update message. In making this decision, it considers any extra information that goes with the data (timestamp, writer, etc.) as well as the QoS of the Publisher and the DataWriter.


Constructor Summary
PublisherImpl(PublisherQos qos, PublisherListener listner, DomainParticipant DP)
           
 
Method Summary
 boolean add(Object arg0)
           
 int begin_coherent_changes()
          Not Implemented
 int copy_from_topic_qos(DataWriterQosHolder a_datawriter_qos, TopicQos a_topic_qos)
           
 DataWriter create_datawriter(Topic a_topic, DataWriterQos qos, DataWriterListener a_listener)
           
 int delete_contained_entities()
          Not Implemented
 int delete_datawriter(DataWriter a_datawriter)
           
 int enable()
          Not Implemented
 int end_coherent_changes()
          Not Implemented
 void get_default_datawriter_qos(DataWriterQosHolder qos)
           
 PublisherListener get_listener()
           
 DomainParticipant get_participant()
           
 void get_qos(PublisherQosHolder qos)
           
 int get_status_changes()
          Not Implemented
 StatusCondition get_statuscondition()
          Not Implemented
 Vector getVector_DataWriter()
           
 boolean isDeletable()
           
 DataWriter lookup_datawriter(String topic_name)
           
 boolean remove(Object arg0)
           
 int resume_publications()
          Not Implemented
 int set_default_datawriter_qos(DataWriterQos qos)
           
 int set_listener(PublisherListener a_listener, int mask)
           
 int set_qos(PublisherQos qos)
           
 void setORB(ORB orb)
           
 void setPOA(POA poa)
           
 int suspend_publications()
          Not Implemented
 
Methods inherited from class org.omg.dds.PublisherPOA
_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

PublisherImpl

public PublisherImpl(PublisherQos qos,
                     PublisherListener listner,
                     DomainParticipant DP)
Method Detail

create_datawriter

public DataWriter create_datawriter(Topic a_topic,
                                    DataWriterQos qos,
                                    DataWriterListener a_listener)
Parameters:
a_topic -
qos -
a_listener -
Returns:

delete_datawriter

public int delete_datawriter(DataWriter a_datawriter)
Parameters:
a_datawriter -
Returns:

lookup_datawriter

public DataWriter lookup_datawriter(String topic_name)
Parameters:
topic_name -
Returns:

delete_contained_entities

public int delete_contained_entities()
Not Implemented

Returns:

set_qos

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

get_qos

public void get_qos(PublisherQosHolder qos)
Parameters:
qos -

set_listener

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

get_listener

public PublisherListener get_listener()
Returns:

suspend_publications

public int suspend_publications()
Not Implemented

Returns:

resume_publications

public int resume_publications()
Not Implemented

Returns:

begin_coherent_changes

public int begin_coherent_changes()
Not Implemented

Returns:

end_coherent_changes

public int end_coherent_changes()
Not Implemented

Returns:

get_participant

public DomainParticipant get_participant()
Returns:

set_default_datawriter_qos

public int set_default_datawriter_qos(DataWriterQos qos)
Parameters:
qos -
Returns:

get_default_datawriter_qos

public void get_default_datawriter_qos(DataWriterQosHolder qos)
Parameters:
qos -

copy_from_topic_qos

public int copy_from_topic_qos(DataWriterQosHolder a_datawriter_qos,
                               TopicQos a_topic_qos)
Parameters:
a_datawriter_qos -
a_topic_qos -
Returns:

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:

setORB

public void setORB(ORB orb)
Parameters:
orb - The orb to set.

setPOA

public void setPOA(POA poa)
Parameters:
poa - The poa to set.

getVector_DataWriter

public Vector getVector_DataWriter()
Returns:
Returns the vector_DataWriter.

add

public boolean add(Object arg0)
Parameters:
arg0 -
Returns:

remove

public boolean remove(Object arg0)
Parameters:
arg0 -
Returns:

isDeletable

public boolean isDeletable()
Returns:


Copyright © 2015 JacORB. All rights reserved.