identt
Public Member Functions | List of all members
identt::hrpc::HrpcRemoteEndpointService< HttpServerT > Class Template Reference
Inheritance diagram for identt::hrpc::HrpcRemoteEndpointService< HttpServerT >:
identt::query::ServiceBase< HttpServerT > identt::hrpc::ProtoServiceBase< HttpServerT >

Public Member Functions

 HrpcRemoteEndpointService (identt::utils::SharedTable::pointer stptr, typename std::shared_ptr< HttpServerT > server, ::identt::hrpc::RemoteKeeper::pointer rkeeper, unsigned int scope)
 HrpcRemoteEndpointService : constructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from identt::query::ServiceBase< HttpServerT >
 ServiceBase (const unsigned int myscope_)
 Constructor : to be used by inherited classes. More...
 
void HttpErrorAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em)
 HttpErrorAction : Error Action Template no payload maybe template. More...
 
void HttpErrorAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em, std::string payload)
 HttpErrorAction : Error Action Template with payload no template. More...
 
void HttpOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ec, const char *em, const char *content_type, std::string &payload, bool add_cors)
 HttpOKAction : OK Action template. More...
 
bool JsonRequest (typename HttpServerT::ReqPtr request)
 JsonRequest : Check if request is json from Content-Type and Accept fields. More...
 
- Protected Member Functions inherited from identt::hrpc::ProtoServiceBase< HttpServerT >
bool ProtoRequest (typename HttpServerT::ReqPtr request)
 ProtoRequest : Check if request is protobuf from Content-Type and Accept fields. More...
 
bool SharedSecretOK (typename HttpServerT::ReqPtr request, std::string sharedkey)
 SharedSecretOK : Check if shared key header is present and ok. More...
 
int ServiceName (typename HttpServerT::ReqPtr request)
 ServiceName : Check protobuf request service name. More...
 
void ServiceOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, std::string &payload)
 ServiceOKAction : OK Action template for service. More...
 
void ServiceOKAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, std::string &&payload)
 ServiceOKAction : OK Action template for service. More...
 
void ServiceErrAction (typename HttpServerT::RespPtr response, typename HttpServerT::ReqPtr request, int ecode, std::string &emsg)
 ServiceErrAction : Error Action template for service. More...
 
- Protected Attributes inherited from identt::query::ServiceBase< HttpServerT >
const unsigned int myscope
 

Constructor & Destructor Documentation

§ HrpcRemoteEndpointService()

template<class HttpServerT >
identt::hrpc::HrpcRemoteEndpointService< HttpServerT >::HrpcRemoteEndpointService ( identt::utils::SharedTable::pointer  stptr,
typename std::shared_ptr< HttpServerT >  server,
::identt::hrpc::RemoteKeeper::pointer  rkeeper,
unsigned int  scope 
)
inline

HrpcRemoteEndpointService : constructor.

Parameters
stptridentt::utils::SharedTable::pointer stptr
serverstd::shared_ptr<HttpServerT> server
rkeeper::identt::hrpc::RemoteKeeper::pointer rkeeper
scopeconst unsigned int scope check
Returns
none

The documentation for this class was generated from the following file: