org.jacorb.notification.servant
Class SequenceProxyPullSupplierImpl

java.lang.Object
  extended byorg.jacorb.notification.servant.AbstractProxy
      extended byorg.jacorb.notification.servant.AbstractProxySupplier
          extended byorg.jacorb.notification.servant.StructuredProxyPullSupplierImpl
              extended byorg.jacorb.notification.servant.SequenceProxyPullSupplierImpl
All Implemented Interfaces:
java.lang.Comparable, org.apache.avalon.framework.configuration.Configurable, org.picocontainer.Disposable, Disposable, FilterAdminOperations, FilterStage, FilterStageSource, ManageableServant, MessageConsumer, NotifySubscribeOperations, ProxySupplierOperations, QoSAdminOperations, SequenceProxyPullSupplierOperations, SequencePullSupplierOperations, StructuredProxyPullSupplierOperations, StructuredPullSupplierOperations

public class SequenceProxyPullSupplierImpl
extends StructuredProxyPullSupplierImpl
implements SequenceProxyPullSupplierOperations

Version:
$Id: SequenceProxyPullSupplierImpl.java,v 1.12 2005/04/27 10:45:46 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
 
Fields inherited from class org.jacorb.notification.servant.StructuredProxyPullSupplierImpl
UNDEFINED_STRUCTURED_EVENT
 
Fields inherited from class org.jacorb.notification.servant.AbstractProxy
id_, isIDPublic_, lifetimeFilter_, logger_, offerManager_, priorityFilter_, qosSettings_, subscriptionManager_, thisServant_
 
Constructor Summary
SequenceProxyPullSupplierImpl(IAdmin admin, ORB orb, POA poa, org.apache.avalon.framework.configuration.Configuration conf, TaskProcessor taskProcessor, OfferManager offerManager, SubscriptionManager subscriptionManager, ConsumerAdmin consumerAdmin)
           
 
Method Summary
 void connect_sequence_pull_consumer(SequencePullConsumer consumer)
           
 void disconnect_sequence_pull_supplier()
           
protected  void disconnectClient()
          invoke the proxy specific disconnect method.
 MessageConsumer getMessageConsumer()
          get the associated MessageConsumer or null.
 Servant getServant()
           
 java.util.List getSubsequentFilterStages()
           
 ProxyType MyType()
           
 StructuredEvent[] pull_structured_events(int number)
           
 StructuredEvent[] try_pull_structured_events(int number, BooleanHolder success)
           
 
Methods inherited from class org.jacorb.notification.servant.StructuredProxyPullSupplierImpl
activate, connect_structured_pull_consumer, deliverPendingData, disableDelivery, disconnect_structured_pull_supplier, enableDelivery, getCost, pull_structured_event, try_pull_structured_event
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxySupplier
compareTo, connectClient, deliverMessage, dispose, enqueue, getAllMessages, getAtLeastMessages, getErrorThreshold, getMessageBlocking, getMessageNoBlock, getMessageQueueFactory, getPendingMessagesCount, getUpToMessages, hasMessageConsumer, hasPendingData, isRetryAllowed, messageDelivered, MyAdmin, obtain_offered_types, removeListener, subscription_change
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxy
_default_POA, add_filter, addDisposeHook, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, destroy, get_all_filters, get_filter, get_qos, getErrorCounter, getFilters, getID, getLifetimeFilter, getORB, getPOA, getPriorityFilter, getTaskProcessor, handleDisconnected, hasInterFilterGroupOperatorOR, hasLifetimeFilter, hasPriorityFilter, incErrorCounter, isConnected, isDisposed, isIDPublic, isSuspended, lifetime_filter, lifetime_filter, priority_filter, priority_filter, remove_all_filters, remove_filter, resetErrorCounter, resume_connection, set_qos, suspend_connection, validate_event_qos, validate_qos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CosNotifyChannelAdmin.ProxySupplierOperations
lifetime_filter, lifetime_filter, MyAdmin, obtain_offered_types, priority_filter, priority_filter, validate_event_qos
 
Methods inherited from interface org.omg.CosNotification.QoSAdminOperations
get_qos, set_qos, validate_qos
 
Methods inherited from interface org.omg.CosNotifyFilter.FilterAdminOperations
add_filter, get_all_filters, get_filter, remove_all_filters, remove_filter
 
Methods inherited from interface org.omg.CosNotifyComm.NotifySubscribeOperations
subscription_change
 
Methods inherited from interface org.jacorb.notification.interfaces.MessageConsumer
destroy, isDisposed
 

Constructor Detail

SequenceProxyPullSupplierImpl

public SequenceProxyPullSupplierImpl(IAdmin admin,
                                     ORB orb,
                                     POA poa,
                                     org.apache.avalon.framework.configuration.Configuration conf,
                                     TaskProcessor taskProcessor,
                                     OfferManager offerManager,
                                     SubscriptionManager subscriptionManager,
                                     ConsumerAdmin consumerAdmin)
                              throws org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

MyType

public ProxyType MyType()
Specified by:
MyType in interface ProxySupplierOperations
Overrides:
MyType in class StructuredProxyPullSupplierImpl

connect_sequence_pull_consumer

public void connect_sequence_pull_consumer(SequencePullConsumer consumer)
                                    throws AlreadyConnected
Specified by:
connect_sequence_pull_consumer in interface SequenceProxyPullSupplierOperations
Throws:
AlreadyConnected

pull_structured_events

public StructuredEvent[] pull_structured_events(int number)
                                         throws Disconnected
Specified by:
pull_structured_events in interface SequencePullSupplierOperations
Throws:
Disconnected

try_pull_structured_events

public StructuredEvent[] try_pull_structured_events(int number,
                                                    BooleanHolder success)
                                             throws Disconnected
Specified by:
try_pull_structured_events in interface SequencePullSupplierOperations
Throws:
Disconnected

getSubsequentFilterStages

public java.util.List getSubsequentFilterStages()
Specified by:
getSubsequentFilterStages in interface FilterStageSource
Overrides:
getSubsequentFilterStages in class StructuredProxyPullSupplierImpl

getMessageConsumer

public MessageConsumer getMessageConsumer()
Description copied from interface: FilterStage
get the associated MessageConsumer or null.

Specified by:
getMessageConsumer in interface FilterStage
Overrides:
getMessageConsumer in class StructuredProxyPullSupplierImpl

disconnectClient

protected void disconnectClient()
Description copied from class: AbstractProxy
invoke the proxy specific disconnect method.

Overrides:
disconnectClient in class StructuredProxyPullSupplierImpl

disconnect_sequence_pull_supplier

public void disconnect_sequence_pull_supplier()
Specified by:
disconnect_sequence_pull_supplier in interface SequencePullSupplierOperations

getServant

public Servant getServant()
Overrides:
getServant in class StructuredProxyPullSupplierImpl