Separated waiting for message from acting on message.
Necessary refactoring of parameter types propagated through source.
This commit is contained in:
@@ -39,7 +39,7 @@ struct U2F_Msg_CMD : U2F_CMD
|
||||
U2F_Msg_CMD() = default;
|
||||
|
||||
public:
|
||||
static std::shared_ptr<U2F_Msg_CMD> generate(const std::shared_ptr<U2FMessage> uMsg);
|
||||
static std::shared_ptr<U2F_Msg_CMD> generate(const U2FMessage& uMsg);
|
||||
static void error(const uint32_t channelID, const uint16_t errCode);
|
||||
void respond(const uint32_t channelID) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user