#include <EventManager.hpp>
Definition at line 42 of file EventManager.hpp.
Finish the transaction.
- Parameters
-
| trxId | Identifier of the transaction which must be finished. |
[in] | Kaa | client context |
Implements kaa::ITransactable.
virtual std::int32_t kaa::EventManager::findEventListeners |
( |
const std::list< std::string > & |
eventFQNs, |
|
|
IFetchEventListenersPtr |
listener |
|
) |
| |
|
virtual |
Submits an event listeners resolution request
- Parameters
-
eventFQNs | List of event class FQNs which have to be supported by endpoint. |
listener | Result listener IFetchEventListeners} |
- Exceptions
-
KaaException | when data is invalid (empty list or null listener) |
- Returns
- Request ID of submitted request
Implements kaa::IEventListenersResolver.
virtual std::map<std::int32_t, std::list<std::string> > kaa::EventManager::getPendingListenerRequests |
( |
| ) |
|
|
virtual |
virtual bool kaa::EventManager::hasPendingEvents |
( |
| ) |
const |
|
virtual |
virtual bool kaa::EventManager::hasPendingListenerRequests |
( |
| ) |
const |
|
virtual |
virtual void kaa::EventManager::onEventListenersReceived |
( |
const EventSyncResponse::eventListenersResponses_t & |
listeners | ) |
|
|
virtual |
virtual void kaa::EventManager::onEventsReceived |
( |
const EventSyncResponse::events_t & |
events | ) |
|
|
virtual |
virtual void kaa::EventManager::produceEvent |
( |
const std::string & |
fqn, |
|
|
const std::vector< std::uint8_t > & |
data, |
|
|
const std::string & |
target, |
|
|
TransactionIdPtr |
trxId |
|
) |
| |
|
virtual |
Creates an Event and passes it to OPS
- Parameters
-
eventFqn | Fully qualified name of the Event |
data | Event data |
target | Event target, null for event broadcasting. |
Implements kaa::IEventManager.
virtual void kaa::EventManager::registerEventFamily |
( |
IEventFamily * |
eventFamily | ) |
|
|
virtual |
Add event family object which can handle specified event.
- Parameters
-
eventFamily | event family instance |
- See Also
- IEventFamily
Implements kaa::IEventManager.
virtual std::map<std::int32_t, Event> kaa::EventManager::releasePendingEvents |
( |
| ) |
|
|
virtual |
virtual void kaa::EventManager::setTransport |
( |
EventTransport * |
transport | ) |
|
|
virtual |
The documentation for this class was generated from the following file:
- /home/architec/Documents/kaa/client/client-multi/client-cpp/kaa/event/EventManager.hpp