azure-core-amqp
Loading...
Searching...
No Matches
socket_transport.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#pragma once
5
6#include "transport.hpp"
7
8#include <azure/core/platform.hpp>
9
10#include <exception>
11
12namespace Azure { namespace Core { namespace Amqp { namespace Network { namespace _internal {
13
15 class SocketTransportFactory final {
16
17 public:
27 static Transport Create(
28 std::string const& hostName,
29 uint16_t hostPort,
30 TransportEvents* eventHandler = nullptr);
31
32 SocketTransportFactory() = delete;
33 };
34
35}}}}} // namespace Azure::Core::Amqp::Network::_internal