1 files changed, 4 insertions, 5 deletions
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<mongoMessage> 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
|