Definition at line 75 of file resdb_test.cpp.
◆ GetCertFile()
| std::string resdb::ResDBTest::GetCertFile |
( |
int |
id | ) |
|
|
inline |
◆ GetConfiFile()
| std::string resdb::ResDBTest::GetConfiFile |
( |
| ) |
|
|
inline |
◆ GetConfig()
| ResDBConfig resdb::ResDBTest::GetConfig |
( |
int |
id, |
|
|
std::optional< ReplicaInfo > |
replica_info = std::nullopt |
|
) |
| |
|
inline |
◆ GetPrivateKey()
| std::string resdb::ResDBTest::GetPrivateKey |
( |
int |
id | ) |
|
|
inline |
◆ StartOneServer()
| void resdb::ResDBTest::StartOneServer |
( |
int |
server_id | ) |
|
|
inline |
◆ StartServer()
| void resdb::ResDBTest::StartServer |
( |
| ) |
|
|
inline |
◆ Stop()
| void resdb::ResDBTest::Stop |
( |
| ) |
|
|
inline |
◆ WaitAllServerStarted()
| void resdb::ResDBTest::WaitAllServerStarted |
( |
| ) |
|
|
inline |
◆ WaitExecutorDone()
| void resdb::ResDBTest::WaitExecutorDone |
( |
int |
received_num | ) |
|
|
inline |
◆ cv_
| std::condition_variable resdb::ResDBTest::cv_ |
|
protected |
◆ executors_
◆ mutex_
| std::mutex resdb::ResDBTest::mutex_ |
|
protected |
◆ server_
| std::vector<std::unique_ptr<ServiceNetwork> > resdb::ResDBTest::server_ |
|
protected |
◆ server_thread_
| std::vector<std::thread> resdb::ResDBTest::server_thread_ |
|
protected |