blob: 2b597c1b01f46a02908c222679923b7ab751d642 (
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;
};
}
|