Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2015-07-16 14:47:56 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-08 17:45:52 +0300
commitf87267ff4ab89e023c15149b4ca37ac08ae3ddf1 (patch)
tree821b8a057381505676222f5539842709e86f53a8 /src/murmur/MurmurGRPCImpl.h
parent56e0507fa2d1e1a0b4840c528adc4b1178e009e0 (diff)
grpc: switch to versioned API
Diffstat (limited to 'src/murmur/MurmurGRPCImpl.h')
-rw-r--r--src/murmur/MurmurGRPCImpl.h31
1 files changed, 9 insertions, 22 deletions
diff --git a/src/murmur/MurmurGRPCImpl.h b/src/murmur/MurmurGRPCImpl.h
index 1ba438679..f6898063b 100644
--- a/src/murmur/MurmurGRPCImpl.h
+++ b/src/murmur/MurmurGRPCImpl.h
@@ -98,10 +98,10 @@ public:
namespace MurmurRPC {
namespace Wrapper {
-class ContextActionService_Events;
-class MetaService_Events;
-class ServerService_Events;
-class AuthenticatorService_Stream;
+class V1_ContextActionEvents;
+class V1_Events;
+class V1_ServerEvents;
+class V1_AuthenticatorStream;
}
}
@@ -118,27 +118,14 @@ class MurmurRPCImpl : public QThread {
std::unique_ptr<grpc::ServerCompletionQueue> mCQ;
// Services
- MurmurRPC::ACLService::AsyncService aACLService;
- MurmurRPC::AudioService::AsyncService aAudioService;
- MurmurRPC::AuthenticatorService::AsyncService aAuthenticatorService;
- MurmurRPC::BanService::AsyncService aBanService;
- MurmurRPC::ChannelService::AsyncService aChannelService;
- MurmurRPC::ConfigService::AsyncService aConfigService;
- MurmurRPC::ContextActionService::AsyncService aContextActionService;
- MurmurRPC::DatabaseService::AsyncService aDatabaseService;
- MurmurRPC::LogService::AsyncService aLogService;
- MurmurRPC::MetaService::AsyncService aMetaService;
- MurmurRPC::ServerService::AsyncService aServerService;
- MurmurRPC::TextMessageService::AsyncService aTextMessageService;
- MurmurRPC::TreeService::AsyncService aTreeService;
- MurmurRPC::UserService::AsyncService aUserService;
+ MurmurRPC::V1::AsyncService aV1Service;
// Listeners
- QHash<int, QMultiHash<QString, ::MurmurRPC::Wrapper::ContextActionService_Events *> > qhContextActionListeners;
- QSet<::MurmurRPC::Wrapper::MetaService_Events *> qsMetaServiceListeners;
- QMultiHash<int, ::MurmurRPC::Wrapper::ServerService_Events *> qmhServerServiceListeners;
+ QHash<int, QMultiHash<QString, ::MurmurRPC::Wrapper::V1_ContextActionEvents *> > qhContextActionListeners;
+ QSet<::MurmurRPC::Wrapper::V1_Events *> qsMetaServiceListeners;
+ QMultiHash<int, ::MurmurRPC::Wrapper::V1_ServerEvents *> qmhServerServiceListeners;
QMutex qmAuthenticatorsLock;
- QHash<int, ::MurmurRPC::Wrapper::AuthenticatorService_Stream *> qhAuthenticators;
+ QHash<int, ::MurmurRPC::Wrapper::V1_AuthenticatorStream *> qhAuthenticators;
void removeAuthenticator(const ::Server *);
void sendMetaEvent(const ::MurmurRPC::Event &e);