blob: 2637a3ff207633cea8f452301490a96c24c1a57f [file] [log] [blame]
// Copyright (C) 2014 BMW Group
// Author: Lutz Bichler (lutz.bichler@bmw.de)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include "../include/request.hpp"
namespace vsomeip {
namespace sd {
request::request(major_version_t _major, minor_version_t _minor, ttl_t _ttl)
: major_(_major),
minor_(_minor),
ttl_(_ttl) {
}
major_version_t request::get_major() const {
return major_;
}
void request::set_major(major_version_t _major) {
major_ = _major;
}
minor_version_t request::get_minor() const {
return minor_;
}
void request::set_minor(minor_version_t _minor) {
minor_ = _minor;
}
ttl_t request::get_ttl() const {
return ttl_;
}
void request::set_ttl(ttl_t _ttl) {
ttl_ = _ttl;
}
} // namespace sd
} // namespace vsomeip