linkahead/handler_interface.h
-
namespace linkahead
-
namespace transaction
Creation and execution of transactions.
- Author
Timm Fitschen
- Date
2021-08-05
Variables
-
static const std::string logger_name = "linkahead::transaction"
-
class HandlerInterface
Subclassed by linkahead::transaction::DownloadRequestHandler, linkahead::transaction::UnaryRpcHandler, linkahead::transaction::UploadRequestHandler
Public Functions
-
inline HandlerInterface()
-
virtual ~HandlerInterface() = default
-
virtual void Start() = 0
-
virtual bool OnNext(bool ok) = 0
-
virtual void Cancel() = 0
-
inline TransactionStatus GetStatus()
Protected Attributes
-
TransactionStatus transaction_status
-
inline HandlerInterface()
-
namespace transaction