PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
privmx::endpoint::store::StoreUpdatedEvent Struct Reference

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

Inheritance diagram for privmx::endpoint::store::StoreUpdatedEvent:
Collaboration diagram for privmx::endpoint::store::StoreUpdatedEvent:

Public Member Functions

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

Public Attributes

Store data
 Store detailed info.
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

Holds data of event that arrives when Store is updated.

Constructor & Destructor Documentation

◆ StoreUpdatedEvent()

privmx::endpoint::store::StoreUpdatedEvent::StoreUpdatedEvent ( )
inline

Event constructor

Member Function Documentation

◆ serialize()

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

//doc-gen:ignore

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

◆ toJSON()

std::string privmx::endpoint::store::StoreUpdatedEvent::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: