mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
31 lines
772 B
C++
31 lines
772 B
C++
/*******************************************************************************
|
|
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
* Proprietary and confidential.
|
|
******************************************************************************/
|
|
#pragma once
|
|
|
|
#include "thrift/gen-cpp/VecService.h"
|
|
|
|
#include <memory>
|
|
|
|
namespace zilliz {
|
|
namespace vecwise {
|
|
namespace client {
|
|
|
|
using VecServiceClientPtr = std::shared_ptr<VecServiceClient>;
|
|
|
|
class ClientSession {
|
|
public:
|
|
ClientSession(const std::string& address, int32_t port, const std::string& protocol);
|
|
~ClientSession();
|
|
|
|
VecServiceClientPtr interface();
|
|
|
|
VecServiceClientPtr client_;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|