#pragma once #include 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; }; }