blob: eb7ca10fa0d18034fabfffd1369e7328fc6afb5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <memory>
class FNET_Scheduler;
namespace config {
class Connection;
class ConnectionFactory
{
public:
virtual Connection * getCurrent() = 0;
virtual void syncTransport() = 0;
virtual FNET_Scheduler * getScheduler() = 0;
virtual ~ConnectionFactory() = default;
};
}
|