Apama
10.2.0.3
|
This type is returned from CorrelatorInterface::registerEventHandler and can be used to add and remove channels to the subscription for this event handler. More...
#include <epl_plugin.hpp>
Public Member Functions | |
EventHandlerSubscription () | |
Create a dummy EventHandlerSubscription. More... | |
EventHandlerSubscription (EventHandlerSubscription &&other) | |
Move an EventHandlerSubscription. More... | |
EventHandlerSubscription & | operator= (EventHandlerSubscription &&other) |
Move an EventHandlerSubscription into this one. More... | |
void | addChannel (const char *channel) |
Add a channel subscription to this event handler. More... | |
bool | removeChannel (const char *channel) |
Remove a channel subscription from this event handler. More... | |
void | removeAllChannels () |
Remove all channels from this handler and delete it. More... | |
This type is returned from CorrelatorInterface::registerEventHandler and can be used to add and remove channels to the subscription for this event handler.
|
inline |
Create a dummy EventHandlerSubscription.
|
inline |
Move an EventHandlerSubscription.
void com::apama::epl::EventHandlerSubscription::addChannel | ( | const char * | channel | ) |
Add a channel subscription to this event handler.
|
inline |
Move an EventHandlerSubscription into this one.
void com::apama::epl::EventHandlerSubscription::removeAllChannels | ( | ) |
Remove all channels from this handler and delete it.
Must not be called from within this class.
bool com::apama::epl::EventHandlerSubscription::removeChannel | ( | const char * | channel | ) |
Remove a channel subscription from this event handler.
If the number of subscriptions is reduced to 0 this handler will be deleted. Must not be called from within this class.