public class BasicDispatcher extends Dispatcher
consumers, identifier, name| Constructor and Description |
|---|
BasicDispatcher(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumerProfile(ConsumerProfile cp)
Add a consumer profile to the end of the list.
|
void |
dispatch(Context ctx)
Dispatch all events added to this Context according to configured
consumers.
|
getConsumers, getIdentifierpublic BasicDispatcher(String name)
public void addConsumerProfile(ConsumerProfile cp) throws IllegalArgumentException
DispatcheraddConsumerProfile in class Dispatchercp - the event consumer profile to addIllegalArgumentExceptionpublic void dispatch(Context ctx)
dispatch in class Dispatcherctx - the execution contextCopyright © 2015 DuraSpace. All Rights Reserved.