Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.commons.broker
Interface Subscriber<T>

All Superinterfaces:
Action<T>
All Known Subinterfaces:
IConfCache
All Known Implementing Classes:
DefaultConfCache, GFAppCfgEventListener, GFAppCfgLogOptionsEventListener, GFAppCfgOptionsEventListener, GFAppLog4j2Updater

public interface Subscriber<T>
extends Action<T>

Subscriber<T> interface defines subscriber contract for Publish/Subscribe pattern.


Method Summary
 Predicate<T> getFilter()
          Gets filter predicate that allows checking whether publishing event should be processed or ignored.
 
Methods inherited from interface com.genesyslab.platform.applicationblocks.commons.Action
handle
 

Method Detail

getFilter

Predicate<T> getFilter()
Gets filter predicate that allows checking whether publishing event should be processed or ignored.

Returns:
filter predicate

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.