org.jacorb.notification.servant
Class SupplierAdminTieImpl

java.lang.Object
  extended byorg.jacorb.notification.servant.AbstractAdmin
      extended byorg.jacorb.notification.servant.SupplierAdminTieImpl
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, Disposable, FilterAdminOperations, FilterStage, ManageableServant, NotifyPublishOperations, QoSAdminOperations, SupplierAdminOperations, SupplierAdminOperations

public class SupplierAdminTieImpl
extends AbstractAdmin
implements SupplierAdminOperations, Disposable

Version:
$Id: SupplierAdminTieImpl.java,v 1.6 2004/05/06 12:40:00 nicolas Exp $
Author:
Alphonse Bendt

Field Summary
 
Fields inherited from class org.jacorb.notification.servant.AbstractAdmin
DEFAULT_FILTER_GROUP_OPERATOR, logger_, modifyProxiesLock_, offerManager_, pullServants_, pushServants_, subscriptionManager_
 
Constructor Summary
SupplierAdminTieImpl(ChannelContext channelContext)
           
 
Method Summary
 Object activate()
           
 ProxyConsumer get_proxy_consumer(int id)
           
 MessageConsumer getMessageConsumer()
          SupplierAdmin does not ever have a MessageConsumer.
 Servant getServant()
           
 java.util.List getSubsequentFilterStages()
          get FilterStages following this Node.
 boolean hasInterFilterGroupOperatorOR()
          check if this FilterStage has OR Semantic enabled.
 boolean hasMessageConsumer()
          SupplierAdmin does not ever have a MessageConsumer.
 ProxyConsumer obtain_notification_pull_consumer(ClientType clientType, IntHolder intHolder)
           
 ProxyConsumer obtain_notification_push_consumer(ClientType clienttype, IntHolder intHolder)
           
 ProxyPullConsumer obtain_pull_consumer()
          get a ProxyPullConsumer (EventService Style)
 ProxyPushConsumer obtain_push_consumer()
          get a ProxyPushConsumer (EventService Style)
 void offer_change(EventType[] added, EventType[] removed)
           
 int[] pull_consumers()
          access the ids of all PullConsumers (NotifyStyle)
 int[] push_consumers()
          access the ids of all PushConsumers (NotifyStyle)
 
Methods inherited from class org.jacorb.notification.servant.AbstractAdmin
_default_POA, add_filter, addProxyEventListener, addProxyToMap, configure, configureEventStyleID, configureInterFilterGroupOperator, configureManagers, configureNotifyStyleID, configureQoS, deactivate, destroy, dispose, fireCreateProxyRequestEvent, get_all_filters, get_all_notify_proxies, get_filter, get_qos, getChannelContext, getChannelServant, getFilters, getID, getLifetimeFilter, getMessageFactory, getORB, getPOA, getPriorityFilter, getProxies, getProxy, hasLifetimeFilter, hasPriorityFilter, isDisposed, MyChannel, MyID, MyOperator, preActivate, remove_all_filters, remove_filter, removeProxyEventListener, set_qos, setDisposeHook, setID, setInterFilterGroupOperator, setIsIDPublic, setOfferManager, setORB, setPOA, setSubscriptionManager, 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.SupplierAdminOperations
destroy, MyChannel, MyID, MyOperator
 
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.jacorb.notification.interfaces.Disposable
dispose
 

Constructor Detail

SupplierAdminTieImpl

public SupplierAdminTieImpl(ChannelContext channelContext)
Method Detail

getServant

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

activate

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

offer_change

public void offer_change(EventType[] added,
                         EventType[] removed)
                  throws InvalidEventType
Specified by:
offer_change in interface NotifyPublishOperations
Throws:
InvalidEventType

pull_consumers

public int[] pull_consumers()
access the ids of all PullConsumers (NotifyStyle)

Specified by:
pull_consumers in interface SupplierAdminOperations

push_consumers

public int[] push_consumers()
access the ids of all PushConsumers (NotifyStyle)

Specified by:
push_consumers in interface SupplierAdminOperations

obtain_notification_pull_consumer

public ProxyConsumer obtain_notification_pull_consumer(ClientType clientType,
                                                       IntHolder intHolder)
                                                throws AdminLimitExceeded
Specified by:
obtain_notification_pull_consumer in interface SupplierAdminOperations
Throws:
AdminLimitExceeded

get_proxy_consumer

public ProxyConsumer get_proxy_consumer(int id)
                                 throws ProxyNotFound
Specified by:
get_proxy_consumer in interface SupplierAdminOperations
Throws:
ProxyNotFound

obtain_notification_push_consumer

public ProxyConsumer obtain_notification_push_consumer(ClientType clienttype,
                                                       IntHolder intHolder)
                                                throws AdminLimitExceeded
Specified by:
obtain_notification_push_consumer in interface SupplierAdminOperations
Throws:
AdminLimitExceeded

obtain_push_consumer

public ProxyPushConsumer obtain_push_consumer()
get a ProxyPushConsumer (EventService Style)

Specified by:
obtain_push_consumer in interface SupplierAdminOperations

obtain_pull_consumer

public ProxyPullConsumer obtain_pull_consumer()
get a ProxyPullConsumer (EventService Style)

Specified by:
obtain_pull_consumer in interface SupplierAdminOperations

getSubsequentFilterStages

public java.util.List getSubsequentFilterStages()
Description copied from interface: FilterStage
get FilterStages following this Node.

Specified by:
getSubsequentFilterStages in interface FilterStage

getMessageConsumer

public MessageConsumer getMessageConsumer()
SupplierAdmin does not ever have a MessageConsumer.

Specified by:
getMessageConsumer in interface FilterStage

hasMessageConsumer

public boolean hasMessageConsumer()
SupplierAdmin does not ever have a MessageConsumer.

Specified by:
hasMessageConsumer in interface FilterStage

hasInterFilterGroupOperatorOR

public boolean hasInterFilterGroupOperatorOR()
Description copied from interface: FilterStage
check if this FilterStage has OR Semantic enabled.

Specified by:
hasInterFilterGroupOperatorOR in interface FilterStage
Overrides:
hasInterFilterGroupOperatorOR in class AbstractAdmin