PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
privmx::endpoint::event::Events Class Reference

#include <privmx/endpoint/event/Events.hpp>

Static Public Member Functions

static bool isContextCustomEvent (const core::EventHolder &eventHolder)
static ContextCustomEvent extractContextCustomEvent (const core::EventHolder &eventHolder)

Detailed Description

'Events' provides the helpers methods for module's events management.

Member Function Documentation

◆ extractContextCustomEvent()

ContextCustomEvent privmx::endpoint::event::Events::extractContextCustomEvent ( const core::EventHolder & eventHolder)
static

Gets Event held in the 'EventHolder' as an 'ContextCustomEvent'

Parameters
eventHolderholder object that wraps the 'Event'
Returns
'ContextCustomEvent' object

◆ isContextCustomEvent()

bool privmx::endpoint::event::Events::isContextCustomEvent ( const core::EventHolder & eventHolder)
static

Checks whether event held in the 'EventHolder' is an 'ContextCustomEvent'

Parameters
eventHolderholder object that wraps the 'Event'
Returns
true for 'ContextCustomEvent', else otherwise

The documentation for this class was generated from the following file: