org.jacorb.notification.servant
Class ProxyPullSupplierImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.AbstractProxySupplier
org.jacorb.notification.servant.ProxyPullSupplierImpl
- All Implemented Interfaces:
- Comparable, org.jacorb.config.Configurable, FilterStage, FilterStageSource, JMXManageable, MessageConsumer, NotifyingDisposable, IServantLifecyle, AbstractProxyMBean, AbstractProxySupplierMBean, org.omg.CosEventComm.PullSupplierOperations, org.omg.CosNotification.QoSAdminOperations, org.omg.CosNotifyChannelAdmin.ProxyPullSupplierOperations, org.omg.CosNotifyChannelAdmin.ProxySupplierOperations, org.omg.CosNotifyComm.NotifySubscribeOperations, org.omg.CosNotifyFilter.FilterAdminOperations, org.picocontainer.Disposable
- Direct Known Subclasses:
- ECProxyPullSupplierImpl
public class ProxyPullSupplierImpl
- extends AbstractProxySupplier
- implements org.omg.CosNotifyChannelAdmin.ProxyPullSupplierOperations
- Version:
- $Id: ProxyPullSupplierImpl.java,v 1.20 2011-05-10 15:40:39 nick.cross Exp $
- Author:
- Alphonse Bendt
| 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.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 |
ProxyPullSupplierImpl
public ProxyPullSupplierImpl(IAdmin admin,
ORB orb,
POA poa,
org.jacorb.config.Configuration config,
TaskProcessor taskProcessor,
OfferManager offerManager,
SubscriptionManager subscriptionManager,
org.omg.CosNotifyChannelAdmin.ConsumerAdmin consumerAdmin)
throws org.jacorb.config.ConfigurationException
- Throws:
org.jacorb.config.ConfigurationException
MyType
public org.omg.CosNotifyChannelAdmin.ProxyType MyType()
- Specified by:
MyType in interface org.omg.CosNotifyChannelAdmin.ProxySupplierOperations- Specified by:
MyType in class AbstractProxy
disconnect_pull_supplier
public void disconnect_pull_supplier()
- Specified by:
disconnect_pull_supplier in interface org.omg.CosEventComm.PullSupplierOperations
disconnectClient
protected void disconnectClient()
- Description copied from class:
AbstractProxy
- invoke the proxy specific disconnect method.
- Specified by:
disconnectClient in class AbstractProxy
pull
public Any pull()
throws org.omg.CosEventComm.Disconnected
- Specified by:
pull in interface org.omg.CosEventComm.PullSupplierOperations
- Throws:
org.omg.CosEventComm.Disconnected
try_pull
public Any try_pull(BooleanHolder hasEvent)
throws org.omg.CosEventComm.Disconnected
- Specified by:
try_pull in interface org.omg.CosEventComm.PullSupplierOperations
- Throws:
org.omg.CosEventComm.Disconnected
connect_any_pull_consumer
public void connect_any_pull_consumer(org.omg.CosEventComm.PullConsumer consumer)
throws org.omg.CosEventChannelAdmin.AlreadyConnected
- Specified by:
connect_any_pull_consumer in interface org.omg.CosNotifyChannelAdmin.ProxyPullSupplierOperations
- Throws:
org.omg.CosEventChannelAdmin.AlreadyConnected
enableDelivery
public void enableDelivery()
disableDelivery
public void disableDelivery()
deliverPendingData
public void deliverPendingData()
newServant
public Servant newServant()
- Specified by:
newServant in interface IServantLifecyle
getCost
protected long getCost()
- Specified by:
getCost in class AbstractProxySupplier
Copyright © 2012 JacORB. All Rights Reserved.