#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()
◆ 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: