public abstract class AbstractProxySupplier extends AbstractProxy implements MessageConsumer, NotifySubscribeOperations
JMXManageable.JMXCallbackconfig_, eventTypes_, logger_, offerManager_, qosSettings_, subscriptionManager_| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProxySupplier(IAdmin admin,
ORB orb,
POA poa,
Configuration conf,
TaskProcessor taskProcessor,
OfferManager offerManager,
SubscriptionManager subscriptionManager,
ConsumerAdmin consumerAdmin) |
activate, add_filter, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, connectionResumed, connectionSuspended, deactivate, destroy, disconnectClient, 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, MyType, priority_filter, priority_filter, registerDisposable, remove_all_filters, remove_filter, resetErrorCounter, resume_connection, sendNotification, sendNotification, set_qos, setJMXCallback, suspend_connection, validate_event_qos, validate_qosclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyednewServantprotected AbstractProxySupplier(IAdmin admin, ORB orb, POA poa, Configuration conf, TaskProcessor taskProcessor, OfferManager offerManager, SubscriptionManager subscriptionManager, ConsumerAdmin consumerAdmin) throws ConfigurationException
ConfigurationExceptionprotected EventQueueFactory getMessageQueueFactory()
public int getPendingMessagesCount()
public final String getOrderPolicy()
public final String getDiscardPolicy()
public final int getMaxEventsPerConsumer()
public void setMaxEventsPerConsumer(int max)
public int getNumberOfDiscardedMessages()
public boolean hasPendingData()
protected void enqueue(Message message)
message - the Message to queue.public Message getMessageBlocking() throws InterruptedException
InterruptedExceptionprotected Message getMessageNoBlock()
protected Message[] getAllMessages()
public void queueMessage(Message message)
MessageConsumerqueueMessage in interface MessageConsumerprotected void messageQueued()
protected Message[] getUpToMessages(int max)
max - maximum number of messagesprotected Message[] getAtLeastMessages(int min)
min - minimum number of messagespublic int getErrorThreshold()
public final void dispose()
dispose in class AbstractProxypublic final ConsumerAdmin MyAdmin()
public final void subscription_change(EventType[] added, EventType[] removed) throws InvalidEventType
subscription_change in interface NotifySubscribeOperationsInvalidEventTypepublic final EventType[] obtain_offered_types(ObtainInfoMode obtainInfoMode)
protected void removeListener()
removeListener in class AbstractProxyprotected final void clientDisconnected()
clientDisconnected in class AbstractProxypublic void connectClient(Object client)
connectClient in class AbstractProxypublic boolean isRetryAllowed()
protected abstract long getCost()
public int compareTo(Object o)
compareTo in interface Comparablepublic final boolean hasMessageConsumer()
FilterStagehasMessageConsumer in interface FilterStagepublic final List getSubsequentFilterStages()
getSubsequentFilterStages in interface FilterStageSourcepublic final MessageConsumer getMessageConsumer()
FilterStagegetMessageConsumer in interface FilterStagepublic void clearPendingMessageQueue()
Copyright © 2017 JacORB. All rights reserved.