MQTTSuite
Loading...
Searching...
No Matches
mqtt::bridge::lib::SSEDistributor::Event Class Reference
Collaboration diagram for mqtt::bridge::lib::SSEDistributor::Event:

Public Member Functions

 Event (const std::string &data, const std::string &event, const std::string &id)
 Event (const Event &)=delete
 Event (Event &&)=delete
Eventoperator= (const Event &)=delete
Eventoperator= (Event &&)=delete
const std::string & getData () const
const std::string & getEvent () const
const std::string & getId () const

Private Attributes

std::string data
std::string event
std::string id

Detailed Description

Definition at line 81 of file SSEDistributor.h.

Constructor & Destructor Documentation

◆ Event() [1/3]

mqtt::bridge::lib::SSEDistributor::Event::Event ( const std::string & data,
const std::string & event,
const std::string & id )

Definition at line 265 of file SSEDistributor.cpp.

References data, event, and id.

◆ Event() [2/3]

mqtt::bridge::lib::SSEDistributor::Event::Event ( const Event & )
delete

◆ Event() [3/3]

mqtt::bridge::lib::SSEDistributor::Event::Event ( Event && )
delete

Member Function Documentation

◆ getData()

const std::string & mqtt::bridge::lib::SSEDistributor::Event::getData ( ) const

Definition at line 271 of file SSEDistributor.cpp.

271 {
272 return data;
273 }

References data.

Referenced by mqtt::bridge::lib::SSEDistributor::addEventReceiver().

Here is the caller graph for this function:

◆ getEvent()

const std::string & mqtt::bridge::lib::SSEDistributor::Event::getEvent ( ) const

Definition at line 275 of file SSEDistributor.cpp.

275 {
276 return event;
277 }

References event.

Referenced by mqtt::bridge::lib::SSEDistributor::addEventReceiver().

Here is the caller graph for this function:

◆ getId()

const std::string & mqtt::bridge::lib::SSEDistributor::Event::getId ( ) const

Definition at line 279 of file SSEDistributor.cpp.

279 {
280 return id;
281 }

References id.

Referenced by mqtt::bridge::lib::SSEDistributor::addEventReceiver().

Here is the caller graph for this function:

◆ operator=() [1/2]

Event & mqtt::bridge::lib::SSEDistributor::Event::operator= ( const Event & )
delete

◆ operator=() [2/2]

Event & mqtt::bridge::lib::SSEDistributor::Event::operator= ( Event && )
delete

Member Data Documentation

◆ data

std::string mqtt::bridge::lib::SSEDistributor::Event::data
private

Definition at line 96 of file SSEDistributor.h.

Referenced by Event(), and getData().

◆ event

std::string mqtt::bridge::lib::SSEDistributor::Event::event
private

Definition at line 97 of file SSEDistributor.h.

Referenced by Event(), and getEvent().

◆ id

std::string mqtt::bridge::lib::SSEDistributor::Event::id
private

Definition at line 98 of file SSEDistributor.h.

Referenced by Event(), and getId().


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