Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.commons.broker
Class AsyncBrokerServiceBase<T>

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.commons.broker.BrokerServiceBase<T>
      extended by com.genesyslab.platform.applicationblocks.commons.broker.AsyncBrokerServiceBase<T>
All Implemented Interfaces:
PublishingService<T>, SubscriptionService<T>, AsyncInvokerSupport
Direct Known Subclasses:
AsyncBrokerService, EventReceivingBrokerService, RequestReceivingBrokerService

Deprecated. Message Broker Application Block is deprecated. Use setMessageHandler(handler) to handle incoming messages asynchronously.

@Deprecated
public abstract class AsyncBrokerServiceBase<T>
extends BrokerServiceBase<T>
implements AsyncInvokerSupport

AsyncBrokerServiceBase class extends base implementation of the Publish/Subscribe pattern with asynchronous publishing.


Constructor Summary
protected AsyncBrokerServiceBase()
          Deprecated.  
protected AsyncBrokerServiceBase(AsyncInvoker invoker)
          Deprecated.  
 
Method Summary
 void publish(T obj)
          Deprecated. Enqueues event for publishing by the invoker.
 void setInvoker(AsyncInvoker invoker)
          Deprecated.  
 
Methods inherited from class com.genesyslab.platform.applicationblocks.commons.broker.BrokerServiceBase
notify, onNotificationException, onPublish, register, register, switchSubscribersList, unregister, unregister, unregisterAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncBrokerServiceBase

protected AsyncBrokerServiceBase()
Deprecated. 

AsyncBrokerServiceBase

protected AsyncBrokerServiceBase(AsyncInvoker invoker)
Deprecated. 
Method Detail

setInvoker

public void setInvoker(AsyncInvoker invoker)
Deprecated. 
Specified by:
setInvoker in interface AsyncInvokerSupport

publish

public void publish(T obj)
Deprecated. 
Enqueues event for publishing by the invoker.

Specified by:
publish in interface PublishingService<T>
Overrides:
publish in class BrokerServiceBase<T>
Parameters:
obj - Object that is used for event processing
Throws:
java.lang.IllegalStateException - if no AsyncInvoker initialized
See Also:
setInvoker(AsyncInvoker)

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.