org.jacorb.notification.servant
Class StructuredProxyPushSupplierImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.AbstractProxySupplier
org.jacorb.notification.servant.AbstractProxyPushSupplier
org.jacorb.notification.servant.StructuredProxyPushSupplierImpl
- All Implemented Interfaces:
- AbstractProxyMBean, AbstractProxyPushSupplierMBean, AbstractProxySupplierMBean, java.lang.Comparable, org.apache.avalon.framework.configuration.Configurable, Disposable, org.picocontainer.Disposable, FilterAdminOperations, FilterStage, FilterStageSource, IProxyPushSupplier, IServantLifecyle, JMXManageable, MessageConsumer, NotifyingDisposable, NotifySubscribeOperations, ProxySupplierOperations, QoSAdminOperations, StructuredProxyPushSupplierImplMBean, StructuredProxyPushSupplierOperations, StructuredPushSupplierOperations
- public class StructuredProxyPushSupplierImpl
- extends AbstractProxyPushSupplier
- implements StructuredProxyPushSupplierOperations, StructuredProxyPushSupplierImplMBean
- Version:
- $Id: StructuredProxyPushSupplierImpl.java,v 1.24 2006/03/06 19:53:46 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class org.jacorb.notification.servant.AbstractProxyPushSupplier |
disableDelivery, flushPendingEvents, getAveragePushDuration, getPushErrorCount, getPushOperationCount, getRetryStrategy, handleFailedPushOperation, isEnabled, messageQueued, resetErrorCounter, scheduleFlush, schedulePush, scheduleTask, setRetryStrategy |
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, 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, 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, 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 java.lang.Comparable |
compareTo |
Methods inherited from interface org.picocontainer.Disposable |
dispose |
StructuredProxyPushSupplierImpl
public StructuredProxyPushSupplierImpl(IAdmin admin,
ORB orb,
POA poa,
org.apache.avalon.framework.configuration.Configuration conf,
TaskProcessor taskProcessor,
PushTaskExecutorFactory pushTaskExecutorFactory,
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
pushEvent
public boolean pushEvent()
- Specified by:
pushEvent
in class AbstractProxyPushSupplier
connect_structured_push_consumer
public void connect_structured_push_consumer(StructuredPushConsumer consumer)
throws AlreadyConnected
- Specified by:
connect_structured_push_consumer
in interface StructuredProxyPushSupplierOperations
- Throws:
AlreadyConnected
disconnect_structured_push_supplier
public void disconnect_structured_push_supplier()
- Specified by:
disconnect_structured_push_supplier
in interface StructuredPushSupplierOperations
connectionResumed
protected 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
newServant
public Servant newServant()
- Specified by:
newServant
in interface IServantLifecyle
getCost
protected long getCost()
- Specified by:
getCost
in class AbstractProxySupplier