org.jacorb.notification.servant

Class ProxyPushSupplierImpl

Implemented Interfaces:
Configurable, Disposable, FilterAdminOperations, FilterStage, ManageableServant, MessageConsumer, NotifySubscribeOperations, ProxyPushSupplierOperations, ProxySupplierOperations, PushSupplierOperations, PushSupplierOperations, QoSAdminOperations
Known Direct Subclasses:
ECProxyPushSupplierImpl

public class ProxyPushSupplierImpl
extends AbstractProxySupplier
implements ProxyPushSupplierOperations

Version:
$Id: ProxyPushSupplierImpl.java,v 1.8 2004/05/06 12:40:00 nicolas Exp $

Author:
Alphonse Bendt

Field Summary

Fields inherited from class org.jacorb.notification.servant.AbstractProxySupplier

scheduleDeliverPendingMessagesOperation_

Fields inherited from class org.jacorb.notification.servant.AbstractProxy

admin_, channelContext_, id_, isIDPublic_, lifetimeFilter_, logger_, offerManager_, priorityFilter_, qosSettings_, subscriptionManager_, thisServant_

Method Summary

ProxyType
MyType()
Object
activate()
void
connect_any_push_consumer(PushConsumer pushConsumer)
protected void
connectionResumed()
void
deliverMessage(Message message)
Deliver a Message to the associated Consumer.
void
deliverPendingData()
process pending work. push events to its connected (Push)Consumer.
protected void
disconnectClient()
void
disconnect_push_supplier()
MessageConsumer
getMessageConsumer()
get the associated MessageConsumer or null.
Servant
getServant()
List
getSubsequentFilterStages()
get FilterStages following this Node.
boolean
hasMessageConsumer()
check if this FilterStage has a MessageConsumer associcated.

Methods inherited from class org.jacorb.notification.servant.AbstractProxySupplier

MyAdmin, configure, connectClient, disableDelivery, dispose, enableDelivery, enqueue, getAllMessages, getAtLeastMessages, getErrorThreshold, getExecutor, getMessageBlocking, getMessageNoBlock, getPendingMessagesCount, getUpToMessages, handleFailedPushOperation, hasPendingData, isEnabled, isPushSupplier, obtain_offered_types, preActivate, setTaskExecutor, setTaskExecutor, subscription_change

Methods inherited from class org.jacorb.notification.servant.AbstractProxy

MyType, _default_POA, add_filter, assertConnected, assertNotConnected, checkStillConnected, configure, connectClient, connectionResumed, connectionSuspended, deactivate, disconnectClient, dispose, getErrorCounter, getFilters, getID, getLifetimeFilter, getORB, getPOA, getPriorityFilter, getTaskProcessor, get_all_filters, get_filter, get_qos, handleDisconnected, hasInterFilterGroupOperatorOR, hasLifetimeFilter, hasPriorityFilter, incErrorCounter, isConnected, isDisposed, isIDPublic, isSuspended, lifetime_filter, lifetime_filter, preActivate, priority_filter, priority_filter, remove_all_filters, remove_filter, resetErrorCounter, resume_connection, setDisposeHook, setID, setORB, setOfferManager, setPOA, setSubscriptionManager, setTaskProcessor, set_qos, suspend_connection, validate_event_qos, validate_qos

Method Details

MyType

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


activate

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


connect_any_push_consumer

public void connect_any_push_consumer(PushConsumer pushConsumer)
            throws AlreadyConnected
Specified by:
connect_any_push_consumer in interface ProxyPushSupplierOperations


connectionResumed

protected void connectionResumed()
Overrides:
connectionResumed in interface AbstractProxy


deliverMessage

public void deliverMessage(Message message)
Deliver a Message to the associated Consumer.
Specified by:
deliverMessage in interface MessageConsumer


deliverPendingData

public void deliverPendingData()
process pending work. push events to its connected (Push)Consumer.
Specified by:
deliverPendingData in interface MessageConsumer


disconnectClient

protected void disconnectClient()
Overrides:
disconnectClient in interface AbstractProxy


disconnect_push_supplier

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


getMessageConsumer

public MessageConsumer getMessageConsumer()
get the associated MessageConsumer or null.
Specified by:
getMessageConsumer in interface FilterStage


getServant

public Servant getServant()


getSubsequentFilterStages

public List getSubsequentFilterStages()
get FilterStages following this Node.
Specified by:
getSubsequentFilterStages in interface FilterStage


hasMessageConsumer

public boolean hasMessageConsumer()
check if this FilterStage has a MessageConsumer associcated.
Specified by:
hasMessageConsumer in interface FilterStage