summaryrefslogtreecommitdiff
path: root/src/CommonAPI/ProxyManager.cpp
blob: 3d55ff971db0d2362f776da9d5264bd97e1fa269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2013-2015 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/.

#include <CommonAPI/ProxyManager.hpp>
#include <CommonAPI/Runtime.hpp>

namespace CommonAPI {

std::shared_ptr<Proxy>
ProxyManager::createProxy(
        const std::string &_domain, const std::string &_interface, const std::string &_instance,
        const ConnectionId_t &_connection) const {
    return Runtime::get()->createProxy(_domain, _interface, _instance, _connection);
}

} // namespace CommonAPI