SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::FsBroker Namespace Reference

The SWC-DB FsBroker Communications Protocol C++ namespace 'SWC::Comm::Protocol::FsBroker'. More...

Namespaces

 Handler
 
 Params
 
 Req
 

Classes

struct  Commands
 

Enumerations

enum  Command : uint8_t {
  NOT_IMPLEMENTED = 0x00,
  FUNCTION_OPEN = 0x01,
  FUNCTION_CREATE = 0x02,
  FUNCTION_CLOSE = 0x03,
  FUNCTION_READ = 0x04,
  FUNCTION_APPEND = 0x05,
  FUNCTION_SEEK = 0x06,
  FUNCTION_REMOVE = 0x07,
  FUNCTION_LENGTH = 0x08,
  FUNCTION_PREAD = 0x09,
  FUNCTION_MKDIRS = 0x0a,
  FUNCTION_FLUSH = 0x0b,
  FUNCTION_RMDIR = 0x0c,
  FUNCTION_READDIR = 0x0d,
  FUNCTION_EXISTS = 0x0e,
  FUNCTION_RENAME = 0x0f,
  FUNCTION_SYNC = 0x10,
  FUNCTION_WRITE = 0x11,
  FUNCTION_READ_ALL = 0x12,
  FUNCTION_COMBI_PREAD = 0x13,
  FUNCTION_DEBUG = 0x14,
  FUNCTION_STATUS = 0x14,
  FUNCTION_SHUTDOWN = 0x14,
  MAX_CMD = 0x14
}
 

Detailed Description

The SWC-DB FsBroker Communications Protocol C++ namespace 'SWC::Comm::Protocol::FsBroker'.

Enumeration Type Documentation

◆ Command

Enumerator
NOT_IMPLEMENTED 

Not Implemented.

FUNCTION_OPEN 

Open.

FUNCTION_CREATE 

Create.

FUNCTION_CLOSE 

Close.

FUNCTION_READ 

Read.

FUNCTION_APPEND 

Append.

FUNCTION_SEEK 

Seek.

FUNCTION_REMOVE 

Remove.

FUNCTION_LENGTH 

Length.

FUNCTION_PREAD 

Pread.

FUNCTION_MKDIRS 

Mkdirs.

FUNCTION_FLUSH 

Flush.

FUNCTION_RMDIR 

Rmdir.

FUNCTION_READDIR 

Readdir.

FUNCTION_EXISTS 

Exists.

FUNCTION_RENAME 

Rename.

FUNCTION_SYNC 

Sync.

FUNCTION_WRITE 

Write.

FUNCTION_READ_ALL 

ReadAll.

FUNCTION_COMBI_PREAD 

CombiPread open+pread+close.

FUNCTION_DEBUG 

Debug.

FUNCTION_STATUS 

Status.

FUNCTION_SHUTDOWN 

Shutdown.

MAX_CMD 

Maximum code marker.

Definition at line 25 of file Commands.h.