1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #ifndef VSOMEIP_V3_CLIENT_ENDPOINT_HPP_ 7 #define VSOMEIP_V3_CLIENT_ENDPOINT_HPP_ 8 9 #include "endpoint.hpp" 10 11 namespace vsomeip_v3 { 12 13 class client_endpoint : public virtual endpoint { 14 public: ~client_endpoint()15 virtual ~client_endpoint() 16 #ifndef ANDROID 17 {} 18 #else 19 ; 20 #endif 21 22 virtual bool get_remote_address(boost::asio::ip::address &_address) const = 0; 23 virtual std::uint16_t get_remote_port() const = 0; 24 }; 25 26 } // namespace vsomeip 27 28 29 #endif // VSOMEIP_V3_CLIENT_ENDPOINT_HPP_ 30