#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::report::v2::ReportService, bgs::protocol::authentication::v1::AuthenticationListener, bgs::protocol::authentication::v1::AuthenticationService, bgs::protocol::challenge::v1::ChallengeListener, bgs::protocol::club::v1::ClubListener, bgs::protocol::club::v1::membership::ClubMembershipListener, bgs::protocol::club::v1::membership::ClubMembershipService, bgs::protocol::club::v1::ClubService, bgs::protocol::connection::v1::ConnectionService, bgs::protocol::friends::v1::FriendsService, bgs::protocol::friends::v1::FriendsListener, bgs::protocol::game_utilities::v1::GameUtilitiesService, bgs::protocol::presence::v1::PresenceListener, bgs::protocol::presence::v1::PresenceService, bgs::protocol::report::v1::ReportService, bgs::protocol::resources::v1::ResourcesService, bgs::protocol::user_manager::v1::UserManagerService, and bgs::protocol::user_manager::v1::UserManagerListener.
◆ 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: