org.jacorb.notification.servant
Class TypedProxyPushConsumerImpl

java.lang.Object
  extended by org.jacorb.notification.servant.AbstractProxy
      extended by org.jacorb.notification.servant.AbstractProxyConsumer
          extended by org.jacorb.notification.servant.TypedProxyPushConsumerImpl
All Implemented Interfaces:
org.jacorb.config.Configurable, FilterStage, FilterStageSource, JMXManageable, NotifyingDisposable, IServantLifecyle, AbstractProxyConsumerMBean, AbstractProxyMBean, IProxyConsumer, ITypedProxy, TypedProxyPushConsumerImplMBean, PushConsumerOperations, QoSAdminOperations, ProxyConsumerOperations, NotifyPublishOperations, FilterAdminOperations, TypedPushConsumerOperations, TypedProxyPushConsumerOperations, org.picocontainer.Disposable

public class TypedProxyPushConsumerImpl
extends AbstractProxyConsumer
implements TypedProxyPushConsumerOperations, ITypedProxy, TypedProxyPushConsumerImplMBean

Version:
$Id: TypedProxyPushConsumerImpl.java,v 1.13 2009-04-25 10:08:52 andre.spiegel Exp $
Author:
Alphonse Bendt

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jacorb.notification.interfaces.JMXManageable
JMXManageable.JMXCallback
 
Field Summary
 
Fields inherited from class org.jacorb.notification.servant.AbstractProxyConsumer
supplierAdmin_
 
Fields inherited from class org.jacorb.notification.servant.AbstractProxy
config_, eventTypes_, logger_, offerManager_, qosSettings_, subscriptionManager_
 
Constructor Summary
TypedProxyPushConsumerImpl(ITypedAdmin admin, SupplierAdmin supplierAdmin, ORB orb, POA poa, org.jacorb.config.Configuration conf, TaskProcessor taskProcessor, MessageFactory messageFactory, OfferManager offerManager, SubscriptionManager subscriptionManager, Repository repository)
           
 
Method Summary
 void connect_typed_push_supplier(PushSupplier pushSupplier)
           
 void disconnect_push_consumer()
           
 void disconnectClient()
          invoke the proxy specific disconnect method.
 Object get_typed_consumer()
           
 java.lang.String getSupportedInterface()
           
 ProxyType MyType()
           
 Servant newServant()
           
 void push(Any any)
           
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxyConsumer
checkMessageProperties, clientDisconnected, connectClient, getFirstStage, getMessageConsumer, getMessageCount, getMessageFactory, getStartTimeSupported, getStopTimeSupported, getSubsequentFilterStages, hasMessageConsumer, MyAdmin, newMessages, obtain_subscription_types, offer_change, processMessage, removeListener, schedulePullTask, setSubsequentDestinations
 
Methods inherited from class org.jacorb.notification.servant.AbstractProxy
activate, add_filter, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, destroy, dispose, 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.ProxyConsumerOperations
MyAdmin, obtain_subscription_types, 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.NotifyPublishOperations
offer_change
 
Methods inherited from interface org.jacorb.notification.servant.AbstractProxyConsumerMBean
getMessageCount, getStartTimeSupported, getStopTimeSupported
 
Methods inherited from interface org.jacorb.notification.servant.AbstractProxyMBean
destroy, getClientIOR, getConnected, getErrorCounter, getInterFilterGroupOperator, getStatus, resetErrorCounter
 

Constructor Detail

TypedProxyPushConsumerImpl

public TypedProxyPushConsumerImpl(ITypedAdmin admin,
                                  SupplierAdmin supplierAdmin,
                                  ORB orb,
                                  POA poa,
                                  org.jacorb.config.Configuration conf,
                                  TaskProcessor taskProcessor,
                                  MessageFactory messageFactory,
                                  OfferManager offerManager,
                                  SubscriptionManager subscriptionManager,
                                  Repository repository)
                           throws InterfaceNotSupported
Throws:
InterfaceNotSupported
Method Detail

MyType

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

connect_typed_push_supplier

public void connect_typed_push_supplier(PushSupplier pushSupplier)
                                 throws AlreadyConnected
Specified by:
connect_typed_push_supplier in interface TypedProxyPushConsumerOperations
Throws:
AlreadyConnected

push

public void push(Any any)
          throws Disconnected
Specified by:
push in interface PushConsumerOperations
Throws:
Disconnected

get_typed_consumer

public Object get_typed_consumer()
Specified by:
get_typed_consumer in interface TypedPushConsumerOperations

disconnect_push_consumer

public void disconnect_push_consumer()
Specified by:
disconnect_push_consumer in interface PushConsumerOperations

disconnectClient

public 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

getSupportedInterface

public java.lang.String getSupportedInterface()
Specified by:
getSupportedInterface in interface TypedProxyPushConsumerImplMBean