file system message getter func
This commit is contained in:
parent
763c52cfca
commit
f5d793a1cf
@ -59,3 +59,8 @@ void FileSystemMessage::setFailureReply(CommandMessage *message,
|
||||
message->setCommand(COMPLETION_SUCCESS);
|
||||
message->setParameter(errorCode);
|
||||
}
|
||||
|
||||
ReturnValue_t FileSystemMessage::getFailureReply(
|
||||
const CommandMessage *message) {
|
||||
return message->getParameter();
|
||||
}
|
||||
|
@ -32,6 +32,8 @@ public:
|
||||
static store_address_t getStoreId( const CommandMessage* message );
|
||||
static void setSuccessReply(CommandMessage* message);
|
||||
static void setFailureReply(CommandMessage* message, ReturnValue_t errorCode);
|
||||
|
||||
static ReturnValue_t getFailureReply(const CommandMessage* message);
|
||||
};
|
||||
|
||||
#endif /* FSFW_MEMORY_FILESYSTEMMESSAGE_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user