SWC-DB  v0.5.9 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Rgr::Req::Report Class Reference

#include <swcdb/db/Protocol/Rgr/req/Report.h>

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Req::Report:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Req::Report:

Public Member Functions

 Report (const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Params::Report::Function func, const uint32_t timeout)
 
 Report (const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Params::Report::Function func, const Serializable &params, const uint32_t timeout)
 
virtual ~Report () noexcept
 
bool run () override
 
- Public Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp) noexcept
 
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp, const ConnQueuePtr &a_queue) noexcept
 
SWC_CAN_INLINE Ptr req () noexcept
 
virtual bool insistent () noexcept
 
void request_again ()
 
void print (std::ostream &out)
 
- Public Member Functions inherited from SWC::Comm::DispatchHandler
virtual void handle_no_conn ()=0
 
virtual void handle (ConnHandlerPtr conn, const Event::Ptr &ev)=0
 
virtual bool valid ()
 

Protected Attributes

SWC::client::Clients::Ptr clients
 
EndPoints endpoints
 

Additional Inherited Members

- Public Types inherited from SWC::Comm::client::ConnQueueReqBase
typedef std::shared_ptr< ConnQueueReqBasePtr
 
- Public Types inherited from SWC::Comm::DispatchHandler
typedef std::shared_ptr< DispatchHandlerPtr
 
- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 
- Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
virtual ~ConnQueueReqBase () noexcept
 
- Protected Member Functions inherited from SWC::Comm::DispatchHandler
virtual ~DispatchHandler () noexcept
 

Detailed Description

Definition at line 18 of file Report.h.

Constructor & Destructor Documentation

◆ Report() [1/2]

SWC::Comm::Protocol::Rgr::Req::Report::Report ( const SWC::client::Clients::Ptr clients,
const EndPoints endpoints,
Params::Report::Function  func,
const uint32_t  timeout 
)

◆ Report() [2/2]

SWC::Comm::Protocol::Rgr::Req::Report::Report ( const SWC::client::Clients::Ptr clients,
const EndPoints endpoints,
Params::Report::Function  func,
const Serializable params,
const uint32_t  timeout 
)

Definition at line 27 of file Report.cc.

References SWC::Comm::client::ConnQueueReqBase::cbp.

◆ ~Report()

virtual SWC::Comm::Protocol::Rgr::Req::Report::~Report ( )
inlinevirtualnoexcept

Definition at line 32 of file Report.h.

Member Function Documentation

◆ run()

bool SWC::Comm::Protocol::Rgr::Req::Report::run ( )
overridevirtual

Reimplemented from SWC::Comm::DispatchHandler.

Definition at line 39 of file Report.cc.

References clients, endpoints, and SWC::Comm::client::ConnQueueReqBase::req().

+ Here is the call graph for this function:

Member Data Documentation

◆ clients

◆ endpoints


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