org.jacorb.notification.servant
Class ECProxyPushConsumerImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.ProxyPushConsumerImpl
org.jacorb.notification.servant.ECProxyPushConsumerImpl
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, Disposable, FilterStage, AbstractProxyConsumerI, ManageableServant, PushConsumerOperations, QoSAdminOperations, ProxyConsumerOperations, ProxyPushConsumerOperations, NotifyPublishOperations, FilterAdminOperations
public class ECProxyPushConsumerImpl
- extends ProxyPushConsumerImpl
- implements ProxyPushConsumerOperations
- Version:
- $Id: ECProxyPushConsumerImpl.java,v 1.3 2004/05/06 12:39:59 nicolas Exp $
- Author:
- Alphonse Bendt
Fields inherited from class org.jacorb.notification.servant.AbstractProxy |
admin_, channelContext_, id_, isIDPublic_, lifetimeFilter_, logger_, offerManager_, priorityFilter_, qosSettings_, subscriptionManager_, thisServant_ |
Methods inherited from class org.jacorb.notification.servant.AbstractProxy |
_default_POA, add_filter, assertConnected, assertNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, dispose, 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, setDisposeHook, setID, setOfferManager, setORB, setPOA, setSubscriptionManager, setTaskProcessor, 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 |
messageFactory_
protected MessageFactory messageFactory_
connect_push_supplier
public void connect_push_supplier(PushSupplier pushSupplier)
throws AlreadyConnected
- Throws:
AlreadyConnected
getServant
public Servant getServant()
- Overrides:
getServant
in class ProxyPushConsumerImpl
activate
public Object activate()
- Specified by:
activate
in interface ManageableServant
- Overrides:
activate
in class ProxyPushConsumerImpl
getSubsequentFilterStages
public final java.util.List getSubsequentFilterStages()
- Description copied from interface:
FilterStage
- get FilterStages following this Node.
- Specified by:
getSubsequentFilterStages
in interface FilterStage
preActivate
public void preActivate()
- Specified by:
preActivate
in interface ManageableServant
- Overrides:
preActivate
in class AbstractProxy
schedulePullTask
protected void schedulePullTask(MessageSupplier target)
checkMessageProperties
protected void checkMessageProperties(Message mesg)
- check if a Message is acceptable to the QoS Settings of this ProxyConsumer
getFirstStage
public FilterStage getFirstStage()
- Specified by:
getFirstStage
in interface AbstractProxyConsumerI
isTimeOutSupported
public boolean isTimeOutSupported()
- Specified by:
isTimeOutSupported
in interface AbstractProxyConsumerI
isStartTimeSupported
public boolean isStartTimeSupported()
- Specified by:
isStartTimeSupported
in interface AbstractProxyConsumerI
MyAdmin
public final SupplierAdmin MyAdmin()
getMessageConsumer
public final MessageConsumer getMessageConsumer()
- Description copied from interface:
FilterStage
- get the associated MessageConsumer or null.
- Specified by:
getMessageConsumer
in interface FilterStage
hasMessageConsumer
public final boolean hasMessageConsumer()
- Description copied from interface:
FilterStage
- check if this FilterStage has a MessageConsumer associcated.
- Specified by:
hasMessageConsumer
in interface FilterStage
offer_change
public void offer_change(EventType[] added,
EventType[] removed)
throws InvalidEventType
- Specified by:
offer_change
in interface NotifyPublishOperations
- Throws:
InvalidEventType
obtain_subscription_types
public EventType[] obtain_subscription_types(ObtainInfoMode obtainInfoMode)
connectClient
protected void connectClient(Object client)
- Overrides:
connectClient
in class AbstractProxy