|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
7 #ifndef swcdb_fsbroker_handlers_Write_h
8 #define swcdb_fsbroker_handlers_Write_h
12 namespace SWC {
namespace Comm {
namespace Protocol {
13 namespace FsBroker {
namespace Handler {
22 const uint8_t *ptr = ev->data.base;
23 size_t remain = ev->data.size;
26 params.
decode(&ptr, &remain);
43 conn->send_response(cbp);
50 #endif // swcdb_fsbroker_handlers_Write_h
constexpr SWC_CAN_INLINE int code() const noexcept
#define SWC_LOG_OUT(pr, _code_)
static SWC_CAN_INLINE Ptr make_ptr(const std::string &filepath, uint32_t flags, int32_t fd=-1, uint64_t pos=0)
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
static SWC_CAN_INLINE FS::FileSystem::Ptr & fs() noexcept
void write(const ConnHandlerPtr &conn, const Event::Ptr &ev)
std::shared_ptr< ConnHandler > ConnHandlerPtr
static SWC_CAN_INLINE Ptr make(uint32_t reserve=0)
void decode(const uint8_t **bufp, size_t *remainp)
std::shared_ptr< Event > Ptr