summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/client_endpoint.hpp
blob: 372a1225843cf5f406580923e807cfddcdce7360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2014-2021 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// 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/.

#ifndef VSOMEIP_V3_CLIENT_ENDPOINT_HPP_
#define VSOMEIP_V3_CLIENT_ENDPOINT_HPP_

#include "endpoint.hpp"

namespace vsomeip_v3 {

class client_endpoint : public virtual endpoint {
public:
    virtual ~client_endpoint() {}

    virtual bool get_remote_address(boost::asio::ip::address &_address) const = 0;
    virtual std::uint16_t get_remote_port() const = 0;
};

} // namespace vsomeip


#endif // VSOMEIP_V3_CLIENT_ENDPOINT_HPP_