#include <ConnectionService.h>
|
void | SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback) override |
|
void | SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request) override |
|
void | SendResponse (uint32, uint32, uint32 token, uint32 status) override |
|
void | SendResponse (uint32, uint32, uint32 token, google::protobuf::Message const *response) override |
|
std::string | GetCallerInfo () const override |
|
Session * | _session |
|
Battlenet::Services::Connection::Connection |
( |
Session * |
session | ) |
|
Service< connection::v1::ConnectionService > ConnectionService
Definition: ConnectionService.h:33
31 if (request->has_client_id())
32 response->mutable_client_id()->CopyFrom(request->client_id());
34 std::chrono::system_clock::duration now = std::chrono::system_clock::now().time_since_epoch();
36 response->mutable_server_id()->set_label(
GetPID());
37 response->mutable_server_id()->set_epoch(std::chrono::duration_cast<Seconds>(now).count());
38 response->set_server_time(std::chrono::duration_cast<Milliseconds>(now).count());
40 response->set_use_bindless_rpc(request->use_bindless_rpc());
Definition: BattlenetRpcErrorCodes.h:25
uint32 GetPID()
Definition: Util.cpp:236
Definition: BattlenetRpcErrorCodes.h:25
53 ForceDisconnect(&disconnectNotification);
Definition: connection_service.pb.h:974
void DelayedCloseSocket()
Marks the socket for closing after write buffer becomes empty.
Definition: Socket.h:157
Session * _session
Definition: Service.h:41
void set_error_code(::google::protobuf::uint32 value)
Definition: connection_service.pb.h:2097
Definition: BattlenetRpcErrorCodes.h:25
The documentation for this class was generated from the following files: