org.jacorb.notification.servant
Class TypedProxyPushSupplierImpl

java.lang.Object
  extended byorg.jacorb.notification.servant.AbstractProxy
      extended byorg.jacorb.notification.servant.AbstractProxySupplier
          extended byorg.jacorb.notification.servant.AbstractProxyPushSupplier
              extended byorg.jacorb.notification.servant.TypedProxyPushSupplierImpl
All Implemented Interfaces:
CallbackingDisposable, java.lang.Comparable, org.apache.avalon.framework.configuration.Configurable, org.picocontainer.Disposable, Disposable, FilterAdminOperations, FilterStage, FilterStageSource, IProxyPushSupplier, ITypedProxy, ManageableServant, MessageConsumer, NotifySubscribeOperations, ProxySupplierOperations, PushSupplierOperations, PushSupplierOperations, QoSAdminOperations, TypedProxyPushSupplierOperations

public class TypedProxyPushSupplierImpl
extends AbstractProxyPushSupplier
implements TypedProxyPushSupplierOperations, ITypedProxy

Version:
$Id: TypedProxyPushSupplierImpl.java,v 1.11 2005/04/27 10:45:46 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
 
Fields inherited from class org.jacorb.notification.servant.AbstractProxy
id_, isIDPublic_, lifetimeFilter_, logger_, offerManager_, priorityFilter_, qosSettings_, subscriptionManager_, thisServant_
 
Constructor Summary
TypedProxyPushSupplierImpl(ITypedAdmin admin, ConsumerAdmin consumerAdmin, ORB orb, POA poa, org.apache.avalon.framework.configuration.Configuration conf, TaskProcessor taskProcessor, PushTaskExecutorFactory pushTaskExecutorFactory, OfferManager offerManager, SubscriptionManager subscriptionManager)
           
 
Method Summary
 Object activate()
           
 void connect_typed_push_consumer(TypedPushConsumer typedPushConsumer)
           
 void disconnect_push_supplier()
           
protected  void disconnectClient()
          invoke the proxy specific disconnect method.
protected  long getCost()
           
 MessageConsumer getMessageConsumer()
          get the associated MessageConsumer or null.
 Servant getServant()
           
 java.util.List getSubsequentFilterStages()
           
 void isIDLAssignable(java.lang.String ifName)
           
 ProxyType MyType()
           
 void pushPendingData()
          process pending work. push events to its connected (Push)Consumer.
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxyPushSupplier
disableDelivery, handleFailedPushOperation, isEnabled, messageDelivered, resetErrorCounter, schedulePush, schedulePush
 
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, 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, 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
 
Methods inherited from interface org.omg.CosTypedNotifyChannelAdmin.TypedProxyPushSupplierOperations
resume_connection, suspend_connection
 
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
 
Methods inherited from interface org.jacorb.notification.interfaces.IProxyPushSupplier
hasPendingData, incErrorCounter, isRetryAllowed
 
Methods inherited from interface org.jacorb.notification.interfaces.MessageConsumer
deliverMessage, destroy, isDisposed
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.jacorb.notification.interfaces.CallbackingDisposable
addDisposeHook
 
Methods inherited from interface org.picocontainer.Disposable
dispose
 

Constructor Detail

TypedProxyPushSupplierImpl

public TypedProxyPushSupplierImpl(ITypedAdmin admin,
                                  ConsumerAdmin consumerAdmin,
                                  ORB orb,
                                  POA poa,
                                  org.apache.avalon.framework.configuration.Configuration conf,
                                  TaskProcessor taskProcessor,
                                  PushTaskExecutorFactory pushTaskExecutorFactory,
                                  OfferManager offerManager,
                                  SubscriptionManager subscriptionManager)
                           throws org.apache.avalon.framework.configuration.ConfigurationException
Method Detail

disconnect_push_supplier

public void disconnect_push_supplier()
Specified by:
disconnect_push_supplier in interface PushSupplierOperations

connect_typed_push_consumer

public void connect_typed_push_consumer(TypedPushConsumer typedPushConsumer)
                                 throws AlreadyConnected,
                                        TypeError
Specified by:
connect_typed_push_consumer in interface TypedProxyPushSupplierOperations
Throws:
AlreadyConnected
TypeError

MyType

public ProxyType MyType()
Specified by:
MyType in interface ProxySupplierOperations
Specified by:
MyType in class AbstractProxy

getMessageConsumer

public MessageConsumer getMessageConsumer()
Description copied from interface: FilterStage
get the associated MessageConsumer or null.

Specified by:
getMessageConsumer in interface FilterStage

getSubsequentFilterStages

public java.util.List getSubsequentFilterStages()
Specified by:
getSubsequentFilterStages in interface FilterStageSource

activate

public Object activate()
Specified by:
activate in interface ManageableServant

isIDLAssignable

public void isIDLAssignable(java.lang.String ifName)
                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

pushPendingData

public void pushPendingData()
Description copied from interface: IProxyPushSupplier
process pending work. push events to its connected (Push)Consumer.

Specified by:
pushPendingData in interface IProxyPushSupplier

disconnectClient

protected void disconnectClient()
Description copied from class: AbstractProxy
invoke the proxy specific disconnect method.

Specified by:
disconnectClient in class AbstractProxy

getServant

public Servant getServant()
Specified by:
getServant in class AbstractProxy

getCost

protected long getCost()
Specified by:
getCost in class AbstractProxySupplier