this is going to be complex..
This commit is contained in:
parent
5d3f00da7f
commit
98cbf38432
@ -3,3 +3,12 @@
|
||||
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
|
||||
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 {
|
||||
|
||||
class PutRequest {
|
||||
class PutRequest: public SerializeIF {
|
||||
public:
|
||||
EntityId destId;
|
||||
std::optional<TransmissionMode> transmissionMode;
|
||||
@ -21,6 +21,11 @@ class PutRequest {
|
||||
std::vector<MessageToUserTlv> messagesToUser;
|
||||
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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user