From e04c5bf1380760a3a48bd65e8e8ffe4dd651a2d4 Mon Sep 17 00:00:00 2001 From: Newe Date: Tue, 25 May 2021 23:35:24 +0200 Subject: [add] Udp request handler mockup --- src/mongoStub.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/mongoStub.hpp') diff --git a/src/mongoStub.hpp b/src/mongoStub.hpp index 18b899ae..2809142f 100644 --- a/src/mongoStub.hpp +++ b/src/mongoStub.hpp @@ -23,10 +23,6 @@ class mongoStub{ std::vector getNewMessages(mongocxx::change_stream* colCs); - void handleUdpRequest(); - - void handleVoiceRequest(); - mongocxx::collection getCol() const { return col; } @@ -36,7 +32,10 @@ class mongoStub{ mongocxx::client client{mongocxx::uri{}}; mongocxx::database db; mongocxx::collection col; - mongocxx::change_stream* colCs = nullptr; + mongocxx::change_stream* colCs = nullptr; + + void handleUdpRequest(std::string address, int port, std::string mode); + void handleVoiceRequest(); }; #endif -- cgit 1.5.1