eb0e2cb31b
Summary: Also removed some convenience code that became obsolete. No logic changes. Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1303
19 lines
406 B
C++
19 lines
406 B
C++
#pragma once
|
|
|
|
#include "communication/rpc/server.hpp"
|
|
#include "database/graph_db.hpp"
|
|
|
|
namespace distributed {
|
|
|
|
/// Serves this worker's data to others.
|
|
class RemoteDataRpcServer {
|
|
public:
|
|
RemoteDataRpcServer(database::GraphDb &db,
|
|
communication::rpc::Server &server);
|
|
|
|
private:
|
|
database::GraphDb &db_;
|
|
communication::rpc::Server &rpc_server_;
|
|
};
|
|
} // namespace distributed
|