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

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

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

Public Member Functions

 StoreFileCreatedEvent ()
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::File 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 Store file is created.

Constructor & Destructor Documentation

◆ StoreFileCreatedEvent()

privmx::endpoint::store::StoreFileCreatedEvent::StoreFileCreatedEvent ( )
inline

Event constructor

Member Function Documentation

◆ serialize()

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

//doc-gen:ignore

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

◆ toJSON()

std::string privmx::endpoint::store::StoreFileCreatedEvent::toJSON ( ) const
overridevirtual

Get Event as JSON string

Returns
JSON string

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

Member Data Documentation

◆ data

store::File privmx::endpoint::store::StoreFileCreatedEvent::data

detailed Store file info


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