org.jacorb.notification.servant
Class SequenceProxyPullSupplierImpl

java.lang.Object
  extended by org.jacorb.notification.servant.AbstractProxy
      extended by org.jacorb.notification.servant.AbstractProxySupplier
          extended by org.jacorb.notification.servant.SequenceProxyPullSupplierImpl
All Implemented Interfaces:
java.lang.Comparable, org.apache.avalon.framework.configuration.Configurable, Disposable, FilterStage, FilterStageSource, JMXManageable, MessageConsumer, NotifyingDisposable, IServantLifecyle

public class SequenceProxyPullSupplierImpl
extends AbstractProxySupplier

Version:
$Id: SequenceProxyPullSupplierImpl.java,v 1.16 2006/01/12 22:34:54 alphonse.bendt Exp $
Author:
Alphonse Bendt

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jacorb.notification.interfaces.JMXManageable
JMXManageable.JMXCallback
 
Field Summary
 
Fields inherited from class org.jacorb.notification.servant.AbstractProxy
config_, eventTypes_, logger_, offerManager_, qosSettings_, subscriptionManager_
 
Constructor Summary
SequenceProxyPullSupplierImpl(IAdmin admin, org.omg.CORBA.ORB orb, org.omg.PortableServer.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.
protected  long getCost()
           
 ProxyType MyType()
           
 org.omg.PortableServer.Servant newServant()
           
 StructuredEvent[] pull_structured_events(int number)
           
 StructuredEvent[] try_pull_structured_events(int number, org.omg.CORBA.BooleanHolder success)
           
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxySupplier
clearPendingMessageQueue, clientDisconnected, compareTo, connectClient, dispose, enqueue, getAllMessages, getAtLeastMessages, getDiscardPolicy, getErrorThreshold, getMaxEventsPerConsumer, getMessageBlocking, getMessageConsumer, getMessageNoBlock, getMessageQueueFactory, getNumberOfDiscardedMessages, getOrderPolicy, getPendingMessagesCount, getSubsequentFilterStages, getUpToMessages, hasMessageConsumer, hasPendingData, isRetryAllowed, messageQueued, MyAdmin, obtain_offered_types, queueMessage, removeListener, setMaxEventsPerConsumer, subscription_change
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxy
activate, add_filter, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, destroy, get_all_filters, get_filter, get_qos, getClientIOR, getConnected, getErrorCounter, getFilters, getID, getInterFilterGroupOperator, getJMXNotificationTypes, getJMXObjectName, getLifetimeFilter, getMBeanName, getMBeanType, getORB, getPOA, getPriorityFilter, getStatus, getTaskProcessor, handleDisconnected, hasInterFilterGroupOperatorOR, hasLifetimeFilter, hasPriorityFilter, incErrorCounter, isDestroyed, isIDPublic, isSuspended, lifetime_filter, lifetime_filter, priority_filter, priority_filter, registerDisposable, remove_all_filters, remove_filter, resetErrorCounter, resume_connection, sendNotification, sendNotification, set_qos, setJMXCallback, 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.jacorb.notification.interfaces.MessageConsumer
destroy, isDestroyed
 

Constructor Detail

SequenceProxyPullSupplierImpl

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

MyType

public ProxyType MyType()
Specified by:
MyType in class AbstractProxy

connect_sequence_pull_consumer

public void connect_sequence_pull_consumer(SequencePullConsumer consumer)
                                    throws AlreadyConnected
Throws:
AlreadyConnected

pull_structured_events

public StructuredEvent[] pull_structured_events(int number)
                                         throws Disconnected
Throws:
Disconnected

try_pull_structured_events

public StructuredEvent[] try_pull_structured_events(int number,
                                                    org.omg.CORBA.BooleanHolder success)
                                             throws Disconnected
Throws:
Disconnected

disconnectClient

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

Specified by:
disconnectClient in class AbstractProxy

disconnect_sequence_pull_supplier

public void disconnect_sequence_pull_supplier()

newServant

public org.omg.PortableServer.Servant newServant()

getCost

protected long getCost()
Specified by:
getCost in class AbstractProxySupplier