diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-09-21 21:59:59 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-09-21 21:59:59 +0200 |
commit | 3269a68427bcfa200837281c336cbedc3d114dd1 (patch) | |
tree | fc69a05185a21533af4133a8f2186850889d52b8 /src/server/bnetserver/Services/ConnectionService.cpp | |
parent | 115dffde983019acb1f167583b60f0ce1aaa90de (diff) |
Core/Bnet: Implement a way to handle turn protobuf service calls into async requests
Diffstat (limited to 'src/server/bnetserver/Services/ConnectionService.cpp')
-rw-r--r-- | src/server/bnetserver/Services/ConnectionService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/bnetserver/Services/ConnectionService.cpp b/src/server/bnetserver/Services/ConnectionService.cpp index 2f6d5476682..b6988e7a265 100644 --- a/src/server/bnetserver/Services/ConnectionService.cpp +++ b/src/server/bnetserver/Services/ConnectionService.cpp @@ -26,7 +26,7 @@ Battlenet::Services::Connection::Connection(Session* session) : ConnectionServic { } -uint32 Battlenet::Services::Connection::HandleConnect(connection::v1::ConnectRequest const* request, connection::v1::ConnectResponse* response) +uint32 Battlenet::Services::Connection::HandleConnect(connection::v1::ConnectRequest const* request, connection::v1::ConnectResponse* response, std::function<void(ServiceBase*, uint32, ::google::protobuf::Message const*)>& /*continuation*/) { if (request->has_client_id()) response->mutable_client_id()->CopyFrom(request->client_id()); |