org.jacorb.notification.servant
Class StructuredProxyPushConsumerImpl
java.lang.Object
org.jacorb.notification.servant.AbstractProxy
org.jacorb.notification.servant.AbstractProxyConsumer
org.jacorb.notification.servant.StructuredProxyPushConsumerImpl
- All Implemented Interfaces:
- AbstractProxyConsumerI, org.apache.avalon.framework.configuration.Configurable, org.picocontainer.Disposable, Disposable, FilterAdminOperations, FilterStage, FilterStageSource, ManageableServant, NotifyPublishOperations, ProxyConsumerOperations, QoSAdminOperations, StructuredProxyPushConsumerOperations, StructuredPushConsumerOperations
- Direct Known Subclasses:
- SequenceProxyPushConsumerImpl
- public class StructuredProxyPushConsumerImpl
- extends org.jacorb.notification.servant.AbstractProxyConsumer
- implements StructuredProxyPushConsumerOperations
- Version:
- $Id: StructuredProxyPushConsumerImpl.java,v 1.12 2005/04/27 10:45:46 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class org.jacorb.notification.servant.AbstractProxy |
_default_POA, add_filter, addDisposeHook, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, destroy, 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, 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 |
supplierAdmin_
protected final SupplierAdmin supplierAdmin_
StructuredProxyPushConsumerImpl
public StructuredProxyPushConsumerImpl(IAdmin admin,
ORB orb,
POA poa,
org.apache.avalon.framework.configuration.Configuration conf,
TaskProcessor taskProcessor,
MessageFactory mf,
SupplierAdmin supplierAdmin,
OfferManager offerManager,
SubscriptionManager subscriptionManager)
MyType
public ProxyType MyType()
- Specified by:
MyType
in interface ProxyConsumerOperations
- Specified by:
MyType
in class AbstractProxy
push_structured_event
public void push_structured_event(StructuredEvent structuredEvent)
throws Disconnected
- Specified by:
push_structured_event
in interface StructuredPushConsumerOperations
- Throws:
Disconnected
disconnect_structured_push_consumer
public void disconnect_structured_push_consumer()
- Specified by:
disconnect_structured_push_consumer
in interface StructuredPushConsumerOperations
disconnectClient
protected void disconnectClient()
- Description copied from class:
AbstractProxy
- invoke the proxy specific disconnect method.
- Specified by:
disconnectClient
in class AbstractProxy
connect_structured_push_supplier
public void connect_structured_push_supplier(StructuredPushSupplier supplier)
throws AlreadyConnected
- Specified by:
connect_structured_push_supplier
in interface StructuredProxyPushConsumerOperations
- Throws:
AlreadyConnected
getServant
public Servant getServant()
- Specified by:
getServant
in class AbstractProxy
activate
public Object activate()
- Specified by:
activate
in interface ManageableServant
getMessageFactory
protected MessageFactory getMessageFactory()
getSubsequentFilterStages
public final java.util.List getSubsequentFilterStages()
- Specified by:
getSubsequentFilterStages
in interface FilterStageSource
setSubsequentDestinations
public void setSubsequentDestinations(java.util.List list)
schedulePullTask
protected void schedulePullTask(MessageSupplier target)
checkMessageProperties
protected void checkMessageProperties(Message m)
- 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 final EventType[] obtain_subscription_types(ObtainInfoMode obtainInfoMode)
removeListener
protected void removeListener()
- removes the listener. subscription_change will no more be issued to the connected Supplier
- Specified by:
removeListener
in class AbstractProxy
connectClient
protected void connectClient(Object client)
- Overrides:
connectClient
in class AbstractProxy
processMessage
protected void processMessage(Message mesg)