PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
privmx::endpoint::kvdb::KvdbEntryDeletedEvent Struct Reference

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

Inheritance diagram for privmx::endpoint::kvdb::KvdbEntryDeletedEvent:
Collaboration diagram for privmx::endpoint::kvdb::KvdbEntryDeletedEvent:

Public Member Functions

 KvdbEntryDeletedEvent ()
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

KvdbDeletedEntryEventData data
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 Kvdb message is deleted.

Constructor & Destructor Documentation

◆ KvdbEntryDeletedEvent()

privmx::endpoint::kvdb::KvdbEntryDeletedEvent::KvdbEntryDeletedEvent ( )
inline

Event constructor

Member Function Documentation

◆ serialize()

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

//doc-gen:ignore

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

◆ toJSON()

std::string privmx::endpoint::kvdb::KvdbEntryDeletedEvent::toJSON ( ) const
overridevirtual

Get Event as JSON string

Returns
JSON string

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

Member Data Documentation

◆ data

KvdbDeletedEntryEventData privmx::endpoint::kvdb::KvdbEntryDeletedEvent::data

event data


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