org.omg.CosNotifyComm
Class _PullSupplierStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosNotifyComm._PullSupplierStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, PullSupplier, PullSupplierOperations, NotifySubscribe, NotifySubscribeOperations

public class _PullSupplierStub
extends org.omg.CORBA.portable.ObjectImpl
implements PullSupplier

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.

See Also:
Serialized Form

Constructor Summary
_PullSupplierStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 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.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_PullSupplierStub

public _PullSupplierStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

subscription_change

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

Specified by:
subscription_change in interface NotifySubscribeOperations
Throws:
InvalidEventType

pull

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

Specified by:
pull in interface PullSupplierOperations
Throws:
Disconnected

try_pull

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

Specified by:
try_pull in interface PullSupplierOperations
Throws:
Disconnected

disconnect_pull_supplier

public void disconnect_pull_supplier()
Operation disconnect_pull_supplier

Specified by:
disconnect_pull_supplier in interface PullSupplierOperations