Bump FSFW #31
@ -16,7 +16,7 @@ class RemoteConfigTableIF {
|
|||||||
*/
|
*/
|
||||||
class OneRemoteConfigProvider : public RemoteConfigTableIF {
|
class OneRemoteConfigProvider : public RemoteConfigTableIF {
|
||||||
public:
|
public:
|
||||||
explicit OneRemoteConfigProvider(RemoteEntityCfg cfg) : cfg(std::move(cfg)) {}
|
explicit OneRemoteConfigProvider(RemoteEntityCfg& cfg) : cfg(cfg) {}
|
||||||
|
|
||||||
bool getRemoteCfg(const EntityId& remoteId, cfdp::RemoteEntityCfg** cfg_) override {
|
bool getRemoteCfg(const EntityId& remoteId, cfdp::RemoteEntityCfg** cfg_) override {
|
||||||
if (remoteId != cfg.remoteId) {
|
if (remoteId != cfg.remoteId) {
|
||||||
@ -27,7 +27,7 @@ class OneRemoteConfigProvider : public RemoteConfigTableIF {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RemoteEntityCfg cfg;
|
RemoteEntityCfg& cfg;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace cfdp
|
} // namespace cfdp
|
||||||
|
@ -30,7 +30,7 @@ struct RemoteEntityCfg {
|
|||||||
RemoteEntityCfg() = default;
|
RemoteEntityCfg() = default;
|
||||||
explicit RemoteEntityCfg(EntityId id) : remoteId(std::move(id)) {}
|
explicit RemoteEntityCfg(EntityId id) : remoteId(std::move(id)) {}
|
||||||
EntityId remoteId;
|
EntityId remoteId;
|
||||||
size_t maxFileSegmentLen = 2048;
|
size_t maxFileSegmentLen = 1024;
|
||||||
bool closureRequested = false;
|
bool closureRequested = false;
|
||||||
bool crcOnTransmission = false;
|
bool crcOnTransmission = false;
|
||||||
TransmissionMode defaultTransmissionMode = TransmissionMode::UNACKNOWLEDGED;
|
TransmissionMode defaultTransmissionMode = TransmissionMode::UNACKNOWLEDGED;
|
||||||
|
Loading…
Reference in New Issue
Block a user