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 84 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 266 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 272 of file SSEDistributor.cpp.

272 {
273 return data;
274 }

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 276 of file SSEDistributor.cpp.

276 {
277 return event;
278 }

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 280 of file SSEDistributor.cpp.

280 {
281 return id;
282 }

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 99 of file SSEDistributor.h.

Referenced by Event(), and getData().

◆ event

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

Definition at line 100 of file SSEDistributor.h.

Referenced by Event(), and getEvent().

◆ id

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

Definition at line 101 of file SSEDistributor.h.

Referenced by Event(), and getId().


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