dfslib servernode p1
#ifndef _DFSLIB_SERVERNODE_H #define _DFSLIB_SERVERNODE_H #include #include #include #include class DFSServerNode { /** The server address information **/ std::string server_address; /** The mount path for the server **/ std::string mount_path; /** The pointer to the grpc server instance **/ std::unique_ptr server; /** Server callback **/ std::function grader_callback; DFSServerNode(const std::string& server_address, const std::string& mount_path, std::function callback); ~DFSServerNode(); …