|
| ConnectionService (bool use_original_hash) |
|
| ConnectionService (ConnectionService const &)=delete |
|
| ConnectionService (ConnectionService &&)=delete |
|
ConnectionService & | operator= (ConnectionService const &)=delete |
|
ConnectionService & | operator= (ConnectionService &&)=delete |
|
virtual | ~ConnectionService () |
|
void | Connect (::bgs::protocol::connection::v1::ConnectRequest const *request, std::function< void(::bgs::protocol::connection::v1::ConnectResponse const *)> responseCallback, bool client=false, bool server=false) |
|
void | Bind (::bgs::protocol::connection::v1::BindRequest const *request, std::function< void(::bgs::protocol::connection::v1::BindResponse const *)> responseCallback, bool client=false, bool server=false) |
|
void | Echo (::bgs::protocol::connection::v1::EchoRequest const *request, std::function< void(::bgs::protocol::connection::v1::EchoResponse const *)> responseCallback, bool client=false, bool server=false) |
|
void | ForceDisconnect (::bgs::protocol::connection::v1::DisconnectNotification const *request, bool client=false, bool server=false) |
|
void | KeepAlive (::bgs::protocol::NoData const *request, bool client=false, bool server=false) |
|
void | Encrypt (::bgs::protocol::connection::v1::EncryptRequest const *request, std::function< void(::bgs::protocol::NoData const *)> responseCallback, bool client=false, bool server=false) |
|
void | RequestDisconnect (::bgs::protocol::connection::v1::DisconnectRequest const *request, bool client=false, bool server=false) |
|
void | CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer) final |
|
| ServiceBase (uint32 serviceHash) |
|
virtual | ~ServiceBase () |
|
virtual void | CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer)=0 |
|
virtual std::string | GetCallerInfo () const =0 |
|
void | LogDisallowedMethod (uint32 methodId) |
|
void | LogCallClientMethod (char const *methodName, char const *inputTypeName, google::protobuf::Message const *request) |
|
void | LogCallServerMethod (char const *methodName, char const *inputTypeName, google::protobuf::Message const *request) |
|
void | LogUnimplementedServerMethod (char const *methodName, google::protobuf::Message const *request) |
|
void | LogInvalidMethod (uint32 methodId) |
|
void | LogFailedParsingRequest (char const *methodName) |
|
uint32 | GetServiceHash () const |
|
|
virtual uint32 | HandleConnect (::bgs::protocol::connection::v1::ConnectRequest const *request, ::bgs::protocol::connection::v1::ConnectResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) |
|
virtual uint32 | HandleBind (::bgs::protocol::connection::v1::BindRequest const *request, ::bgs::protocol::connection::v1::BindResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) |
|
virtual uint32 | HandleEcho (::bgs::protocol::connection::v1::EchoRequest const *request, ::bgs::protocol::connection::v1::EchoResponse *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) |
|
virtual uint32 | HandleForceDisconnect (::bgs::protocol::connection::v1::DisconnectNotification const *request) |
|
virtual uint32 | HandleKeepAlive (::bgs::protocol::NoData const *request) |
|
virtual uint32 | HandleEncrypt (::bgs::protocol::connection::v1::EncryptRequest const *request, ::bgs::protocol::NoData *response, std::function< void(ServiceBase *, uint32, ::google::protobuf::Message const *)> &continuation) |
|
virtual uint32 | HandleRequestDisconnect (::bgs::protocol::connection::v1::DisconnectRequest const *request) |
|
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 1183 of file connection_service.pb.h.