mcx::comm::Authorization

mcx::comm::Authorization

Inherits from mcx::comm::AuthorizationBase, mcx::comm::RPCProcessor

Public Functions

Name
Authorization(uint32_t max_number_users_in_control)
Authorization(const Authorization & orig) =delete
~Authorization() override
virtual bool initLogin(const char * filename) override
virtual bool check(RequestMsg & request_data) override
virtual motorcortex_StatusCode logout(uint32_t client_id) override

Additional inherited members

Public Functions inherited from mcx::comm::AuthorizationBase

Name
AuthorizationBase()
void init(uint32_t system_param_hash)
virtual MsgHashSet getHashList() const override
bool noAccessMsg(ReplyMsg & reply) const

Protected Functions inherited from mcx::comm::AuthorizationBase

Name
bool decodeRestoreSessionMsg(const RequestMsg & request, motorcortex_RestoreSessionMsg & restore_session)
bool encodeStatusMsg(const motorcortex_StatusMsg & status_msg, ReplyMsg & output_msg)
bool encodeSessionTokenMsg(const motorcortex_SessionTokenMsg & session_token, ReplyMsg & output_msg)
void generateToken(char * token, size_t length) const

Public Functions inherited from mcx::comm::RPCProcessor

Name
RPCProcessor() =default
virtual ~RPCProcessor() =default
RPCProcessor(const RPCProcessor & orig) =delete
virtual MsgHashSet getHashList() const =0

Public Functions Documentation

function Authorization

Authorization(
    uint32_t max_number_users_in_control
)

function Authorization

Authorization(
    const Authorization & orig
) =delete

function ~Authorization

~Authorization() override

function initLogin

virtual bool initLogin(
    const char * filename
) override

Reimplements: mcx::comm::AuthorizationBase::initLogin

function check

virtual bool check(
    RequestMsg & request_data
) override

Reimplements: mcx::comm::AuthorizationBase::check

function logout

virtual motorcortex_StatusCode logout(
    uint32_t client_id
) override

Reimplements: mcx::comm::AuthorizationBase::logout


Updated on 2022-04-05 at 16:21:26 +0200