org.jacorb.notification.servant
Class ProxyPushConsumerImpl

java.lang.Object
  extended by org.jacorb.notification.servant.AbstractProxy
      extended by org.jacorb.notification.servant.AbstractProxyConsumer
          extended by org.jacorb.notification.servant.ProxyPushConsumerImpl
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, Disposable, FilterStage, FilterStageSource, JMXManageable, NotifyingDisposable, IServantLifecyle, IProxyConsumer
Direct Known Subclasses:
ECProxyPushConsumerImpl

public class ProxyPushConsumerImpl
extends AbstractProxyConsumer

Version:
$Id: ProxyPushConsumerImpl.java,v 1.15 2006/01/12 22:34:54 alphonse.bendt 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
ProxyPushConsumerImpl(IAdmin admin, org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa, org.apache.avalon.framework.configuration.Configuration conf, TaskProcessor taskProcessor, MessageFactory messageFactory, SupplierAdmin supplierAdmin, OfferManager offerManager, SubscriptionManager subscriptionManager)
           
 
Method Summary
 void connect_any_push_supplier(org.omg.CosEventComm.PushSupplier pushSupplier)
           
 void disconnect_push_consumer()
           
protected  void disconnectClient()
          invoke the proxy specific disconnect method.
 ProxyType MyType()
           
 org.omg.PortableServer.Servant newServant()
           
 void push(org.omg.CORBA.Any event)
          Supplier sends data to the consumer (this object) using this call.
 
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
 

Constructor Detail

ProxyPushConsumerImpl

public ProxyPushConsumerImpl(IAdmin admin,
                             org.omg.CORBA.ORB orb,
                             org.omg.PortableServer.POA poa,
                             org.apache.avalon.framework.configuration.Configuration conf,
                             TaskProcessor taskProcessor,
                             MessageFactory messageFactory,
                             SupplierAdmin supplierAdmin,
                             OfferManager offerManager,
                             SubscriptionManager subscriptionManager)
Method Detail

MyType

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

disconnect_push_consumer

public void disconnect_push_consumer()

disconnectClient

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

Specified by:
disconnectClient in class AbstractProxy

push

public void push(org.omg.CORBA.Any event)
          throws Disconnected
Supplier sends data to the consumer (this object) using this call.

Throws:
Disconnected

connect_any_push_supplier

public void connect_any_push_supplier(org.omg.CosEventComm.PushSupplier pushSupplier)
                               throws AlreadyConnected
Throws:
AlreadyConnected

newServant

public org.omg.PortableServer.Servant newServant()