blob: e442df14475fe658ff1bfc681bd643e32da3ab01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <library/cpp/getopt/last_getopt.h>
namespace NBus {
//////////////////////////////////////////////////////////////////
/// \brief Configuration for message queue
struct TBusQueueConfig {
TString Name;
int NumWorkers; ///< number of threads calling OnMessage(), OnReply() handlers
TBusQueueConfig(); ///< initializes with default settings
void ConfigureLastGetopt(NLastGetopt::TOpts&, const TString& prefix = "mb-");
TString PrintToString() const;
};
}
|