memgraph/src/distributed/remote_data_rpc_server.hpp
florijan eb0e2cb31b Extract cpp from hpp in distributed, fix includes
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
2018-03-21 09:38:44 +01:00

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