#include <connection_service.pb.h>
|
| | 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 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 |
| |
|
| static google::protobuf::ServiceDescriptor const * | descriptor () |
| |
|
| 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 |
| |
|
| void | ParseAndHandleConnect (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleBind (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleEcho (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleForceDisconnect (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleKeepAlive (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleEncrypt (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
| void | ParseAndHandleRequestDisconnect (uint32 token, uint32 methodId, MessageBuffer &buffer) |
| |
Definition at line 1183 of file connection_service.pb.h.
◆ NameHash
◆ OriginalHash
◆ ConnectionService() [1/3]
| bgs::protocol::connection::v1::ConnectionService::ConnectionService |
( |
bool |
use_original_hash | ) |
|
|
explicit |
◆ ConnectionService() [2/3]
| bgs::protocol::connection::v1::ConnectionService::ConnectionService |
( |
ConnectionService const & |
| ) |
|
|
delete |
◆ ConnectionService() [3/3]
| bgs::protocol::connection::v1::ConnectionService::ConnectionService |
( |
ConnectionService && |
| ) |
|
|
delete |
◆ ~ConnectionService()
| virtual bgs::protocol::connection::v1::ConnectionService::~ConnectionService |
( |
| ) |
|
|
virtual |
◆ Bind()
◆ CallServerMethod()
| void bgs::protocol::connection::v1::ConnectionService::CallServerMethod |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer |
buffer |
|
) |
| |
|
finalvirtual |
◆ Connect()
◆ descriptor()
| static google::protobuf::ServiceDescriptor const * bgs::protocol::connection::v1::ConnectionService::descriptor |
( |
| ) |
|
|
static |
◆ Echo()
◆ Encrypt()
◆ ForceDisconnect()
◆ HandleBind()
◆ HandleConnect()
◆ HandleEcho()
◆ HandleEncrypt()
◆ HandleForceDisconnect()
◆ HandleKeepAlive()
◆ HandleRequestDisconnect()
◆ KeepAlive()
| void bgs::protocol::connection::v1::ConnectionService::KeepAlive |
( |
::bgs::protocol::NoData const * |
request, |
|
|
bool |
client = false, |
|
|
bool |
server = false |
|
) |
| |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ParseAndHandleBind()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleBind |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleConnect()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleConnect |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleEcho()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleEcho |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleEncrypt()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleEncrypt |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleForceDisconnect()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleForceDisconnect |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleKeepAlive()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleKeepAlive |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ ParseAndHandleRequestDisconnect()
| void bgs::protocol::connection::v1::ConnectionService::ParseAndHandleRequestDisconnect |
( |
uint32 |
token, |
|
|
uint32 |
methodId, |
|
|
MessageBuffer & |
buffer |
|
) |
| |
|
private |
◆ RequestDisconnect()
The documentation for this class was generated from the following file: