SUB_T - the interface implemented by the subscriberspublic interface Dispatcher<SUB_T>
| Modifier and Type | Method and Description |
|---|---|
void |
add_async(SUB_T sub)
Adds a new subscriber to the dispatcher using a asynchronous
subscription.
|
void |
add_sync(SUB_T sub)
Adds a new subscriber to the dispatcher using a synchronous
subscription.
|
void |
remove(SUB_T sub)
Removes a previously registered subscriber from the dispatcher.
|
void add_sync(SUB_T sub)
sub - the subscriber, cannot be nullvoid add_async(SUB_T sub)
sub - the subscriber, cannot be nullvoid remove(SUB_T sub)
sub - the subscriber to remove, cannot be nullCopyright © 2015. All rights reserved.