Bump FSFW #31
@ -3,3 +3,12 @@
|
|||||||
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
|
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
|
||||||
return !destNameSize.has_value() and !sourceNameSize.has_value();
|
return !destNameSize.has_value() and !sourceNameSize.has_value();
|
||||||
}
|
}
|
||||||
|
ReturnValue_t cfdp::PutRequest::serialize(uint8_t **buffer, size_t *size, size_t maxSize,
|
||||||
|
SerializeIF::Endianness streamEndianness) const {
|
||||||
|
return returnvalue::OK;
|
||||||
|
}
|
||||||
|
ReturnValue_t cfdp::PutRequest::deSerialize(const uint8_t **buffer, size_t *size,
|
||||||
|
SerializeIF::Endianness streamEndianness) {
|
||||||
|
return returnvalue::OK;
|
||||||
|
}
|
||||||
|
size_t cfdp::PutRequest::getSerializedSize() const { return 0; }
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
namespace cfdp {
|
namespace cfdp {
|
||||||
|
|
||||||
class PutRequest {
|
class PutRequest: public SerializeIF {
|
||||||
public:
|
public:
|
||||||
EntityId destId;
|
EntityId destId;
|
||||||
std::optional<TransmissionMode> transmissionMode;
|
std::optional<TransmissionMode> transmissionMode;
|
||||||
@ -21,6 +21,11 @@ class PutRequest {
|
|||||||
std::vector<MessageToUserTlv> messagesToUser;
|
std::vector<MessageToUserTlv> messagesToUser;
|
||||||
std::vector<FilestoreRequestTlv> fsRequest;
|
std::vector<FilestoreRequestTlv> fsRequest;
|
||||||
|
|
||||||
|
[[nodiscard]] ReturnValue_t serialize(uint8_t **buffer, size_t *size, size_t maxSize,
|
||||||
|
Endianness streamEndianness) const override;
|
||||||
|
ReturnValue_t deSerialize(const uint8_t **buffer, size_t *size,
|
||||||
|
Endianness streamEndianness) override;
|
||||||
|
[[nodiscard]] size_t getSerializedSize() const override;
|
||||||
[[nodiscard]] bool isMetadataOnly() const;
|
[[nodiscard]] bool isMetadataOnly() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user