org.jacorb.notification.servant
Class StructuredProxyPullConsumerImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.AbstractProxyConsumer
org.jacorb.notification.servant.StructuredProxyPullConsumerImpl
- All Implemented Interfaces:
- AbstractProxyConsumerMBean, AbstractProxyMBean, org.apache.avalon.framework.configuration.Configurable, Disposable, org.picocontainer.Disposable, FilterAdminOperations, FilterStage, FilterStageSource, IProxyConsumer, IServantLifecyle, JMXManageable, MessageSupplier, MessageSupplierDelegate, NotifyingDisposable, NotifyPublishOperations, ProxyConsumerOperations, QoSAdminOperations, StructuredProxyPullConsumerImplMBean, StructuredProxyPullConsumerOperations, StructuredPullConsumerOperations
- public class StructuredProxyPullConsumerImpl
- extends AbstractProxyConsumer
- implements StructuredProxyPullConsumerOperations, MessageSupplier, MessageSupplierDelegate, StructuredProxyPullConsumerImplMBean
- Version:
- $Id: StructuredProxyPullConsumerImpl.java,v 1.17 2006/01/12 22:34:54 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class org.jacorb.notification.servant.AbstractProxyConsumer |
checkMessageProperties, clientDisconnected, connectClient, getFirstStage, getMessageConsumer, getMessageCount, getMessageFactory, getStartTimeSupported, getStopTimeSupported, getSubsequentFilterStages, hasMessageConsumer, MyAdmin, newMessages, obtain_subscription_types, offer_change, processMessage, removeListener, schedulePullTask, setSubsequentDestinations |
Methods inherited from class org.jacorb.notification.servant.AbstractProxy |
activate, add_filter, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, deactivate, destroy, dispose, 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 |
StructuredProxyPullConsumerImpl
public StructuredProxyPullConsumerImpl(IAdmin admin,
ORB orb,
POA poa,
org.apache.avalon.framework.configuration.Configuration config,
TaskProcessor taskProcessor,
MessageFactory mf,
OfferManager offerManager,
SubscriptionManager subscriptionManager,
SupplierAdmin supplierAdmin)
MyType
public ProxyType MyType()
- Specified by:
MyType
in interface ProxyConsumerOperations
- Specified by:
MyType
in class AbstractProxy
disconnect_structured_pull_consumer
public void disconnect_structured_pull_consumer()
- Specified by:
disconnect_structured_pull_consumer
in interface StructuredPullConsumerOperations
connect_structured_pull_supplier
public void connect_structured_pull_supplier(StructuredPullSupplier pullSupplier)
throws AlreadyConnected
- Specified by:
connect_structured_pull_supplier
in interface StructuredProxyPullConsumerOperations
- Throws:
AlreadyConnected
connectionSuspended
protected void connectionSuspended()
- Description copied from class:
AbstractProxy
- this is an extension point.
- Overrides:
connectionSuspended
in class AbstractProxy
connectionResumed
public void connectionResumed()
- Description copied from class:
AbstractProxy
- this is an extension point. invoked when resume_connection was called successfully.
- Overrides:
connectionResumed
in class AbstractProxy
disconnectClient
protected void disconnectClient()
- Description copied from class:
AbstractProxy
- invoke the proxy specific disconnect method.
- Specified by:
disconnectClient
in class AbstractProxy
startTask
protected void startTask()
stopTask
protected void stopTask()
newServant
public Servant newServant()
- Specified by:
newServant
in interface IServantLifecyle
pullMessages
public MessageSupplierDelegate.PullResult pullMessages()
throws Disconnected
- Description copied from interface:
MessageSupplierDelegate
- the implementation pulls one or more events from its Supplier
and hands over the pulled events to the TaskProcessor.
- Specified by:
pullMessages
in interface MessageSupplierDelegate
- Throws:
Disconnected
queueMessages
public void queueMessages(MessageSupplierDelegate.PullResult data)
- Specified by:
queueMessages
in interface MessageSupplierDelegate
runPullMessage
public void runPullMessage()
throws Disconnected
- Description copied from interface:
MessageSupplier
- pull one or more events from the Supplier
and hands over the pulled events to the TaskProcessor.
- Specified by:
runPullMessage
in interface MessageSupplier
- Throws:
Disconnected