#include <ServiceBase.h>
|
| std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> | CreateServerContinuation (uint32 token, uint32 methodId, char const *methodName, google::protobuf::Descriptor const *outputDescriptor) |
| |
| virtual void | SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback)=0 |
| |
| virtual void | SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request)=0 |
| |
| virtual void | SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, uint32 status)=0 |
| |
| virtual void | SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response)=0 |
| |
Definition at line 35 of file ServiceBase.h.
◆ ServiceBase()
| ServiceBase::ServiceBase |
( |
uint32 |
serviceHash | ) |
|
|
inlineexplicit |
◆ ~ServiceBase()
| virtual ServiceBase::~ServiceBase |
( |
| ) |
|
|
inlinevirtual |
◆ CallServerMethod()
Implemented in bgs::protocol::account::v1::AccountService, bgs::protocol::account::v1::AccountListener, bgs::protocol::block_list::v1::client::BlockListListener, bgs::protocol::block_list::v1::client::BlockListService, bgs::protocol::club::v1::client::ClubListener, bgs::protocol::club_membership::v1::client::ClubMembershipListener, bgs::protocol::club_membership::v1::client::ClubMembershipService, bgs::protocol::club::v1::client::ClubService, bgs::protocol::notification::v2::client::NotificationListener, bgs::protocol::notification::v2::client::NotificationService, bgs::protocol::report::v2::ReportService, bgs::protocol::whisper::v2::client::WhisperListener, bgs::protocol::whisper::v2::client::WhisperService, bgs::protocol::authentication::v1::AuthenticationListener, bgs::protocol::authentication::v1::AuthenticationService, bgs::protocol::challenge::v1::ChallengeListener, bgs::protocol::connection::v1::ConnectionService, bgs::protocol::friends::v1::FriendsService, bgs::protocol::friends::v1::FriendsListener, bgs::protocol::game_utilities::v1::GameUtilitiesService, bgs::protocol::notification::v1::NotificationService, bgs::protocol::notification::v1::NotificationListener, bgs::protocol::presence::v1::PresenceListener, bgs::protocol::presence::v1::PresenceService, bgs::protocol::report::v1::ReportService, and bgs::protocol::resources::v1::ResourcesService.
◆ CreateServerContinuation()
| std::function< void(ServiceBase *, uint32, google::protobuf::Message const *)> ServiceBase::CreateServerContinuation |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
char const * |
methodName, |
|
|
google::protobuf::Descriptor const * |
outputDescriptor |
|
) |
| |
|
protected |
◆ GetCallerInfo()
| virtual std::string ServiceBase::GetCallerInfo |
( |
| ) |
const |
|
pure virtual |
◆ GetServiceHash()
| uint32 ServiceBase::GetServiceHash |
( |
| ) |
const |
|
inline |
◆ LogCallClientMethod()
| void ServiceBase::LogCallClientMethod |
( |
char const * |
methodName, |
|
|
char const * |
inputTypeName, |
|
|
google::protobuf::Message const * |
request |
|
) |
| |
◆ LogCallServerMethod()
| void ServiceBase::LogCallServerMethod |
( |
char const * |
methodName, |
|
|
char const * |
inputTypeName, |
|
|
google::protobuf::Message const * |
request |
|
) |
| |
◆ LogDisallowedMethod()
| void ServiceBase::LogDisallowedMethod |
( |
uint32 |
methodId | ) |
|
◆ LogFailedParsingRequest()
| void ServiceBase::LogFailedParsingRequest |
( |
char const * |
methodName | ) |
|
◆ LogInvalidMethod()
| void ServiceBase::LogInvalidMethod |
( |
uint32 |
methodId | ) |
|
◆ LogUnimplementedServerMethod()
| void ServiceBase::LogUnimplementedServerMethod |
( |
char const * |
methodName, |
|
|
google::protobuf::Message const * |
request |
|
) |
| |
◆ SendRequest() [1/2]
| virtual void ServiceBase::SendRequest |
( |
uint32 |
serviceHash, |
|
|
uint32 |
methodId, |
|
|
google::protobuf::Message const * |
request |
|
) |
| |
|
protectedpure virtual |
◆ SendRequest() [2/2]
| virtual void ServiceBase::SendRequest |
( |
uint32 |
serviceHash, |
|
|
uint32 |
methodId, |
|
|
google::protobuf::Message const * |
request, |
|
|
std::function< void(MessageBuffer)> |
callback |
|
) |
| |
|
protectedpure virtual |
◆ SendResponse() [1/2]
| virtual void ServiceBase::SendResponse |
( |
uint32 |
serviceHash, |
|
|
uint32 |
methodId, |
|
|
uint32 |
token, |
|
|
google::protobuf::Message const * |
response |
|
) |
| |
|
protectedpure virtual |
◆ SendResponse() [2/2]
◆ service_hash_
| uint32 ServiceBase::service_hash_ |
|
protected |
The documentation for this class was generated from the following files: