IConfService
AsyncBrokerService
, AsyncBrokerServiceBase
, BrokerService
, BrokerServiceBase
, ConfService
, DefaultConfCache
, EventBrokerService
, EventReceivingBrokerService
, GFApplicationConfigurationManager
, MessageBrokerService
, RequestBrokerService
, RequestReceivingBrokerService
public interface SubscriptionService<T>
SubscriptionService<T>
interface defines subscriber contract for Publish/Subscribe pattern.Modifier and Type | Method | Description |
---|---|---|
void |
register(Action<T> handler,
Predicate<T> filter) |
Registers an action to be performed when a publishing event occurs.
|
void |
register(Subscriber<T> subscriber) |
Registers a subscriber for notifications about publishing event.
|
void |
unregister(Action<T> handler) |
Unregisters a subscriber from notifications about publishing activities.
|
void |
unregister(Subscriber<T> subscriber) |
Unregisters a subscriber from notifications about publishing activities.
|
void register(Subscriber<T> subscriber)
subscriber
- interface of subscriber object being registeredvoid register(Action<T> handler, Predicate<T> filter)
handler
- represents the method that performs an action on the specified object
when a publishing event occursfilter
- filter predicate that allows checking whether publishing event should
be processed or ignoredvoid unregister(Subscriber<T> subscriber)
subscriber
- interface of subscriber object being unregisteredSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.