org.omg.CosNotifyComm
Class SequencePullSupplierPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyComm.SequencePullSupplierPOA
          extended by org.omg.CosNotifyComm.SequencePullSupplierPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, NotifySubscribeOperations, SequencePullSupplierOperations

public class SequencePullSupplierPOATie
extends SequencePullSupplierPOA

The SequencePullSupplier interface supports operations which enable suppliers to transmit sequences of Structured Events by the pull model. It also defines an operation which can be invoked to disconnect the pull supplier from its associated consumer. In addition, the SequencePullSupplier interface inherits the NotifySubscribe interface described above, enabling a notification consumer to inform an instance supporting this interface whenever there is a change to the types of events it is interested in receiving. Note that an object supporting the SequencePullSupplier interface can transmit events which can potentially be received by any consumer connected to the channel, including those which consume events in a form other than a sequence of Structured Events. How events supplied to the channel in the form of a sequence of Structured Events are internally mapped into different forms for delivery to consumers which receive events in a form other than the a sequence of Structured Events is summarized in Table 2-2.


Constructor Summary
SequencePullSupplierPOATie(SequencePullSupplierOperations tieObject)
          Constructor
SequencePullSupplierPOATie(SequencePullSupplierOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 SequencePullSupplierOperations _delegate()
          Get the delegate
 void _delegate(SequencePullSupplierOperations delegate_)
          Set the delegate
 void disconnect_sequence_pull_supplier()
          Operation disconnect_sequence_pull_supplier
 StructuredEvent[] pull_structured_events(int max_number)
          Operation pull_structured_events
 void subscription_change(EventType[] added, EventType[] removed)
          Operation subscription_change
 StructuredEvent[] try_pull_structured_events(int max_number, org.omg.CORBA.BooleanHolder has_event)
          Operation try_pull_structured_events
 
Methods inherited from class org.omg.CosNotifyComm.SequencePullSupplierPOA
_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

SequencePullSupplierPOATie

public SequencePullSupplierPOATie(SequencePullSupplierOperations tieObject)
Constructor


SequencePullSupplierPOATie

public SequencePullSupplierPOATie(SequencePullSupplierOperations tieObject,
                                  org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public SequencePullSupplierOperations _delegate()
Get the delegate


_delegate

public void _delegate(SequencePullSupplierOperations 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

pull_structured_events

public StructuredEvent[] pull_structured_events(int max_number)
                                         throws Disconnected
Operation pull_structured_events

Throws:
Disconnected

try_pull_structured_events

public StructuredEvent[] try_pull_structured_events(int max_number,
                                                    org.omg.CORBA.BooleanHolder has_event)
                                             throws Disconnected
Operation try_pull_structured_events

Throws:
Disconnected

disconnect_sequence_pull_supplier

public void disconnect_sequence_pull_supplier()
Operation disconnect_sequence_pull_supplier


subscription_change

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

Throws:
InvalidEventType