PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
privmx::endpoint::core::LibBreakEvent Struct Reference

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

Inheritance diagram for privmx::endpoint::core::LibBreakEvent:
Collaboration diagram for privmx::endpoint::core::LibBreakEvent:

Public Member Functions

 LibBreakEvent ()
std::string toJSON () const override
std::shared_ptr< SerializedEvent > serialize () const override
Public Member Functions inherited from privmx::endpoint::core::Event
 Event (const std::string &type)
virtual ~Event ()=default

Additional Inherited Members

Public Attributes inherited from privmx::endpoint::core::Event
std::string type
std::string channel
int64_t connectionId = -1
std::vector< std::string > subscriptions
int64_t timestamp

Detailed Description

Event that can be emitted to break the waitEvent loop.

Constructor & Destructor Documentation

◆ LibBreakEvent()

privmx::endpoint::core::LibBreakEvent::LibBreakEvent ( )
inline

Event constructor

Member Function Documentation

◆ serialize()

std::shared_ptr< SerializedEvent > privmx::endpoint::core::LibBreakEvent::serialize ( ) const
overridevirtual

//doc-gen:ignore

Implements privmx::endpoint::core::Event.

◆ toJSON()

std::string privmx::endpoint::core::LibBreakEvent::toJSON ( ) const
overridevirtual

Get Event as JSON string

Returns
JSON string

Implements privmx::endpoint::core::Event.


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