#include <swcdb/db/Protocol/Mngr/req/Report.h>
Public Member Functions | |
Report (const SWC::client::Clients::Ptr &clients, Params::Report::Function func, const uint32_t timeout) | |
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 Serializable ¶ms, Params::Report::Function func, const uint32_t timeout) | |
Report (Report &&)=delete | |
Report (const Report &)=delete | |
Report & | operator= (Report &&)=delete |
Report & | operator= (const Report &)=delete |
virtual | ~Report () noexcept |
void | handle_no_conn () 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 (ConnHandlerPtr conn, const Event::Ptr &ev)=0 |
virtual bool | run () |
virtual bool | valid () |
Protected Member Functions | |
void | clear_endpoints () |
Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase | |
virtual | ~ConnQueueReqBase () noexcept |
Protected Member Functions inherited from SWC::Comm::DispatchHandler | |
virtual | ~DispatchHandler () noexcept |
Protected Attributes | |
SWC::client::Clients::Ptr | clients |
EndPoints | endpoints |
Additional Inherited Members | |
Public Types inherited from SWC::Comm::client::ConnQueueReqBase | |
typedef std::shared_ptr< ConnQueueReqBase > | Ptr |
Public Types inherited from SWC::Comm::DispatchHandler | |
typedef std::shared_ptr< DispatchHandler > | Ptr |
Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase | |
Buffers::Ptr | cbp |
ConnQueuePtr | queue |
SWC::Comm::Protocol::Mngr::Req::Report::Report | ( | const SWC::client::Clients::Ptr & | clients, |
Params::Report::Function | func, | ||
const uint32_t | timeout | ||
) |
Definition at line 17 of file Report.cc.
References SWC::Comm::client::ConnQueueReqBase::cbp, and SWC::Comm::Protocol::Mngr::REPORT.
SWC::Comm::Protocol::Mngr::Req::Report::Report | ( | const SWC::client::Clients::Ptr & | clients, |
const EndPoints & | endpoints, | ||
Params::Report::Function | func, | ||
const uint32_t | timeout | ||
) |
Definition at line 25 of file Report.cc.
References SWC::Comm::client::ConnQueueReqBase::cbp, and SWC::Comm::Protocol::Mngr::REPORT.
SWC::Comm::Protocol::Mngr::Req::Report::Report | ( | const SWC::client::Clients::Ptr & | clients, |
const Serializable & | params, | ||
Params::Report::Function | func, | ||
const uint32_t | timeout | ||
) |
Definition at line 35 of file Report.cc.
References SWC::Comm::client::ConnQueueReqBase::cbp.
|
delete |
|
delete |
|
inlinevirtualnoexcept |
|
protected |
Definition at line 51 of file Report.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::clear(), clients, and endpoints.
Referenced by handle_no_conn().
|
overridevirtual |
Implements SWC::Comm::DispatchHandler.
Reimplemented in SWC::Comm::Protocol::Mngr::Req::ManagersStatus, and SWC::Comm::Protocol::Mngr::Req::ClusterStatus.
Definition at line 46 of file Report.cc.
References clear_endpoints(), and SWC::Comm::DispatchHandler::run().
|
protected |
Definition at line 45 of file Report.h.
Referenced by clear_endpoints(), SWC::Comm::Protocol::Mngr::Req::RangersStatus::make(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::make(), SWC::Comm::Protocol::Mngr::Req::ManagersStatus::make(), SWC::Comm::Protocol::Mngr::Req::ColumnStatus::make(), SWC::Comm::Protocol::Mngr::Req::ColumnStatus::request(), SWC::Comm::Protocol::Mngr::Req::RangersStatus::request(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::request(), SWC::Comm::Protocol::Mngr::Req::ManagersStatus::request(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::run(), SWC::Comm::Protocol::Mngr::Req::ColumnStatus::run(), SWC::Comm::Protocol::Mngr::Req::RangersStatus::run(), and SWC::Comm::Protocol::Mngr::Req::ManagersStatus::run().
|
protected |
Definition at line 46 of file Report.h.
Referenced by clear_endpoints(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::make(), SWC::Comm::Protocol::Mngr::Req::ManagersStatus::make(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::request(), SWC::Comm::Protocol::Mngr::Req::ManagersStatus::request(), SWC::Comm::Protocol::Mngr::Req::ClusterStatus::run(), SWC::Comm::Protocol::Mngr::Req::ColumnStatus::run(), SWC::Comm::Protocol::Mngr::Req::RangersStatus::run(), and SWC::Comm::Protocol::Mngr::Req::ManagersStatus::run().