summaryrefslogtreecommitdiffstats
path: root/src/tools/immutable_object_cache/CacheSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/immutable_object_cache/CacheSession.h')
-rw-r--r--src/tools/immutable_object_cache/CacheSession.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/immutable_object_cache/CacheSession.h b/src/tools/immutable_object_cache/CacheSession.h
index 3cc4d9ed800..0826e8a2b9a 100644
--- a/src/tools/immutable_object_cache/CacheSession.h
+++ b/src/tools/immutable_object_cache/CacheSession.h
@@ -35,11 +35,16 @@ class CacheSession : public std::enable_shared_from_this<CacheSession> {
void fault(const boost::system::error_code& ec);
void send(ObjectCacheRequest* msg);
+ void set_client_version(const std::string &version);
+ const std::string &client_version() const;
+
private:
stream_protocol::socket m_dm_socket;
ProcessMsg m_server_process_msg;
CephContext* m_cct;
+ std::string m_client_version;
+
bufferptr m_bp_header;
};