public class ProxyPullConsumerImpl extends AbstractProxyConsumer implements ProxyPullConsumerOperations, MessageSupplier, MessageSupplierDelegate, ProxyPullConsumerImplMBean
MessageSupplierDelegate.PullResultJMXManageable.JMXCallbacksupplierAdmin_config_, eventTypes_, logger_, offerManager_, qosSettings_, subscriptionManager_| Constructor and Description |
|---|
ProxyPullConsumerImpl(IAdmin admin,
ORB orb,
POA poa,
Configuration conf,
TaskProcessor taskProcessor,
MessageFactory messageFactory,
OfferManager offerManager,
SubscriptionManager subscriptionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect_any_pull_supplier(PullSupplier pullSupplier) |
protected void |
connectionResumed()
this is an extension point.
|
protected void |
connectionSuspended()
this is an extension point.
|
void |
disconnect_pull_consumer() |
protected void |
disconnectClient()
invoke the proxy specific disconnect method.
|
long |
getPollInterval() |
int |
getPullCounter() |
long |
getPullTimer() |
int |
getSuccessfulPullCounter() |
ProxyType |
MyType() |
Servant |
newServant() |
MessageSupplierDelegate.PullResult |
pullMessages()
the implementation pulls one or more events from its Supplier
and hands over the pulled events to the TaskProcessor.
|
void |
queueMessages(MessageSupplierDelegate.PullResult data) |
void |
runPullMessage()
pull one or more events from the Supplier
and hands over the pulled events to the TaskProcessor.
|
checkMessageProperties, clientDisconnected, connectClient, getFirstStage, getMessageConsumer, getMessageCount, getMessageFactory, getStartTimeSupported, getStopTimeSupported, getSubsequentFilterStages, hasMessageConsumer, MyAdmin, newMessages, obtain_subscription_types, offer_change, processMessage, removeListener, schedulePullTask, setSubsequentDestinationsactivate, add_filter, checkDestroyStatus, checkIsConnected, checkIsNotConnected, checkStillConnected, configure, 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_qosclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresume_connection, suspend_connectionMyAdmin, obtain_subscription_types, validate_event_qosget_qos, set_qos, validate_qosadd_filter, get_all_filters, get_filter, remove_all_filters, remove_filteroffer_changedestroygetConnected, isSuspendedgetMessageCount, getStartTimeSupported, getStopTimeSupporteddestroy, getClientIOR, getConnected, getErrorCounter, getInterFilterGroupOperator, getStatus, resetErrorCounterpublic ProxyPullConsumerImpl(IAdmin admin, ORB orb, POA poa, Configuration conf, TaskProcessor taskProcessor, MessageFactory messageFactory, OfferManager offerManager, SubscriptionManager subscriptionManager)
public ProxyType MyType()
MyType in interface ProxyConsumerOperationsMyType in class AbstractProxypublic void disconnect_pull_consumer()
disconnect_pull_consumer in interface PullConsumerOperationsprotected void disconnectClient()
AbstractProxydisconnectClient in class AbstractProxyprotected void connectionSuspended()
AbstractProxyconnectionSuspended in class AbstractProxyprotected void connectionResumed()
AbstractProxyconnectionResumed in class AbstractProxypublic void runPullMessage()
throws Disconnected
MessageSupplierrunPullMessage in interface MessageSupplierDisconnectedpublic void connect_any_pull_supplier(PullSupplier pullSupplier) throws AlreadyConnected
connect_any_pull_supplier in interface ProxyPullConsumerOperationsAlreadyConnectedpublic Servant newServant()
newServant in interface IServantLifecylepublic long getPollInterval()
public long getPullTimer()
public int getPullCounter()
public int getSuccessfulPullCounter()
public MessageSupplierDelegate.PullResult pullMessages() throws Disconnected
MessageSupplierDelegatepullMessages in interface MessageSupplierDelegateDisconnectedpublic void queueMessages(MessageSupplierDelegate.PullResult data)
queueMessages in interface MessageSupplierDelegateCopyright © 2015 JacORB. All rights reserved.