A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
|
#include <SimpleRequestHandler.h>
Public Member Functions | |
SimpleRequestHandler (std::function< std::pair< bool, std::string >(Handle< RequestType >, PDBCommunicatorPtr)> useMe) | |
PDBCommWorkPtr | clone () |
void | execute (PDBBuzzerPtr callerBuzzer) |
Public Member Functions inherited from pdb::PDBCommWork | |
PDBCommunicatorPtr | getCommunicator () |
void | setGuts (PDBCommunicatorPtr toMe) |
Public Member Functions inherited from pdb::PDBWork | |
virtual PDBBuzzerPtr | getLinkedBuzzer () |
void | execute (PDBWorkerQueue *parent, PDBBuzzerPtr callerBuzzer) |
PDBWorkerPtr | getWorker () |
PDBLoggerPtr | getLogger () |
Private Attributes | |
function< pair< bool, std::string >Handle < RequestType > , PDBCommunicatorPtr)> | processRequest |
Definition at line 36 of file SimpleRequestHandler.h.
|
inline |
Definition at line 40 of file SimpleRequestHandler.h.
|
inlinevirtual |
Implements pdb::PDBCommWork.
Definition at line 45 of file SimpleRequestHandler.h.
|
inlinevirtual |
JiaNote: we need free memory and return here
JiaNote: we need free memory here
Implements pdb::PDBWork.
Definition at line 49 of file SimpleRequestHandler.h.
|
private |
Definition at line 97 of file SimpleRequestHandler.h.