[GCS] refactor the GCS Client Node Interface (#6010)

This commit is contained in:
micafan
2019-12-24 20:36:37 +08:00
committed by Hao Chen
parent 6b1a57542e
commit 687de41273
31 changed files with 965 additions and 727 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ class ObjectManager : public ObjectManagerInterface,
/// \param config ObjectManager configuration.
/// \param object_directory An object implementing the object directory interface.
explicit ObjectManager(boost::asio::io_service &main_service,
const ObjectManagerConfig &config,
const ClientID &self_node_id, const ObjectManagerConfig &config,
std::shared_ptr<ObjectDirectoryInterface> object_directory);
~ObjectManager();
@@ -355,7 +355,7 @@ class ObjectManager : public ObjectManagerInterface,
/// Handle Push task timeout.
void HandlePushTaskTimeout(const ObjectID &object_id, const ClientID &client_id);
ClientID client_id_;
ClientID self_node_id_;
const ObjectManagerConfig config_;
std::shared_ptr<ObjectDirectoryInterface> object_directory_;
ObjectStoreNotificationManager store_notification_;