org.omg.CosNotifyComm
Class PullSupplierPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.PullSupplierPOA
          extended by org.omg.CosNotifyComm.PullSupplierPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, PullSupplierOperations, NotifySubscribeOperations

public class PullSupplierPOATie
extends PullSupplierPOA

The PullSupplier interface supports the functionality required by notification service suppliers that transmit events as Anys using pull-style communication. This interface defines no new attributes or operations directly. Instead, it multiply inherits the PullSupplier interface defined in the CosEventComm module of the OMG Event Service, and the NotifySubscribe interface described above. This enables pull-style suppliers of Any events to also receive subscription_change messages from the channel, allowing it to learn about changes to the types of events being subscribed to by consumers connected to the channel.


Constructor Summary
PullSupplierPOATie(PullSupplierOperations tieObject)
          Constructor
PullSupplierPOATie(PullSupplierOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 PullSupplierOperations _delegate()
          Get the delegate
 void _delegate(PullSupplierOperations delegate_)
          Set the delegate
 void disconnect_pull_supplier()
          Operation disconnect_pull_supplier
 org.omg.CORBA.Any pull()
          Operation pull
 void subscription_change(EventType[] added, EventType[] removed)
          Operation subscription_change
 org.omg.CORBA.Any try_pull(org.omg.CORBA.BooleanHolder has_event)
          Operation try_pull
 
Methods inherited from class org.omg.CosNotifyComm.PullSupplierPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PullSupplierPOATie

public PullSupplierPOATie(PullSupplierOperations tieObject)
Constructor


PullSupplierPOATie

public PullSupplierPOATie(PullSupplierOperations tieObject,
                          org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public PullSupplierOperations _delegate()
Get the delegate


_delegate

public void _delegate(PullSupplierOperations delegate_)
Set the delegate


_default_POA

public org.omg.PortableServer.POA _default_POA()
_default_POA method

Overrides:
_default_POA in class org.omg.PortableServer.Servant

subscription_change

public void subscription_change(EventType[] added,
                                EventType[] removed)
                         throws InvalidEventType
Operation subscription_change

Throws:
InvalidEventType

pull

public org.omg.CORBA.Any pull()
                       throws Disconnected
Operation pull

Throws:
Disconnected

try_pull

public org.omg.CORBA.Any try_pull(org.omg.CORBA.BooleanHolder has_event)
                           throws Disconnected
Operation try_pull

Throws:
Disconnected

disconnect_pull_supplier

public void disconnect_pull_supplier()
Operation disconnect_pull_supplier