org.jacorb.notification.servant
Class StructuredProxyPullSupplierImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.AbstractProxySupplier
org.jacorb.notification.servant.StructuredProxyPullSupplierImpl
- All Implemented Interfaces:
- java.lang.Comparable, org.apache.avalon.framework.configuration.Configurable, org.picocontainer.Disposable, Disposable, FilterAdminOperations, FilterStage, FilterStageSource, ManageableServant, MessageConsumer, NotifySubscribeOperations, ProxySupplierOperations, QoSAdminOperations, StructuredProxyPullSupplierOperations, StructuredPullSupplierOperations
- Direct Known Subclasses:
- SequenceProxyPullSupplierImpl
- public class StructuredProxyPullSupplierImpl
- extends AbstractProxySupplier
- implements StructuredProxyPullSupplierOperations
- Version:
- $Id: StructuredProxyPullSupplierImpl.java,v 1.13 2005/04/27 10:45:46 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
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 |
UNDEFINED_STRUCTURED_EVENT
protected static final StructuredEvent UNDEFINED_STRUCTURED_EVENT
- undefined StructuredEvent that is returned on unsuccessful pull operations.
StructuredProxyPullSupplierImpl
public StructuredProxyPullSupplierImpl(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
MyType
public ProxyType MyType()
- Specified by:
MyType
in interface ProxySupplierOperations
- Specified by:
MyType
in class AbstractProxy
connect_structured_pull_consumer
public void connect_structured_pull_consumer(StructuredPullConsumer consumer)
throws AlreadyConnected
- Specified by:
connect_structured_pull_consumer
in interface StructuredProxyPullSupplierOperations
- Throws:
AlreadyConnected
pull_structured_event
public StructuredEvent pull_structured_event()
throws Disconnected
- Specified by:
pull_structured_event
in interface StructuredPullSupplierOperations
- Throws:
Disconnected
try_pull_structured_event
public StructuredEvent try_pull_structured_event(BooleanHolder hasEvent)
throws Disconnected
- Specified by:
try_pull_structured_event
in interface StructuredPullSupplierOperations
- Throws:
Disconnected
disconnect_structured_pull_supplier
public void disconnect_structured_pull_supplier()
- Specified by:
disconnect_structured_pull_supplier
in interface StructuredPullSupplierOperations
disconnectClient
protected void disconnectClient()
- Description copied from class:
AbstractProxy
- invoke the proxy specific disconnect method.
- Specified by:
disconnectClient
in class AbstractProxy
getSubsequentFilterStages
public java.util.List getSubsequentFilterStages()
- Specified by:
getSubsequentFilterStages
in interface FilterStageSource
getMessageConsumer
public MessageConsumer getMessageConsumer()
- Description copied from interface:
FilterStage
- get the associated MessageConsumer or null.
- Specified by:
getMessageConsumer
in interface FilterStage
disableDelivery
public void disableDelivery()
enableDelivery
public void enableDelivery()
deliverPendingData
public void deliverPendingData()
getServant
public Servant getServant()
- Specified by:
getServant
in class AbstractProxy
activate
public Object activate()
- Specified by:
activate
in interface ManageableServant
getCost
protected long getCost()
- Specified by:
getCost
in class AbstractProxySupplier