| // |
| // endpoint_impl.hpp |
| // |
| // Author: Lutz Bichler |
| // |
| // This file is part of the BMW Some/IP implementation. |
| // |
| // Copyright © 2013, 2014 Bayerische Motoren Werke AG (BMW). |
| // All rights reserved. |
| // |
| |
| #ifndef VSOMEIP_IMPL_ENDPOINT_IMPL_HPP |
| #define VSOMEIP_IMPL_ENDPOINT_IMPL_HPP |
| |
| #include <vsomeip/endpoint.hpp> |
| |
| namespace vsomeip { |
| |
| class endpoint_impl : virtual public endpoint { |
| public: |
| endpoint_impl(); |
| endpoint_impl(const endpoint_impl &_impl); |
| virtual ~endpoint_impl(); |
| |
| std::string get_address() const; |
| void set_address(const std::string &_address); |
| |
| uint16_t get_port() const; |
| void set_port(uint16_t _port); |
| |
| ip_protocol get_protocol() const; |
| void set_protocol(ip_protocol _protocol); |
| |
| ip_version get_version() const; |
| void set_version(ip_version _version); |
| |
| protected: |
| std::string address_; |
| uint16_t port_; |
| ip_protocol protocol_; |
| ip_version version_; |
| }; |
| |
| } // namespace vsomeip |
| |
| #endif // VSOMEIP_IMPL_ENDPOINT_IMPL_HPP |