blob: fc38c6f05f19ad4b71ca24ecab3b886399225daf (
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 Vespa.ai. 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;
};
}
|