WebFramework v3.0.12
Web framework for C++.
Loading...
Searching...
No Matches
BaseLoadBalancerHeuristic.cpp
1#include "BaseLoadBalancerHeuristic.h"
2
3using namespace std;
4
5namespace framework
6{
7 namespace load_balancer
8 {
9 BaseLoadBalancerHeuristic::BaseLoadBalancerHeuristic(string_view ip, string_view port, bool useHTTPS) :
10 ip(ip),
11 port(port),
12 useHTTPS(useHTTPS)
13 {
14
15 }
16
17 void BaseLoadBalancerHeuristic::onStart()
18 {
19
20 }
21
22 void BaseLoadBalancerHeuristic::onEnd()
23 {
24
25 }
26
27 const string& BaseLoadBalancerHeuristic::getIp() const
28 {
29 return ip;
30 }
31
32 const string& BaseLoadBalancerHeuristic::getPort() const
33 {
34 return port;
35 }
36
37 bool BaseLoadBalancerHeuristic::getUseHTTPS() const
38 {
39 return useHTTPS;
40 }
41 }
42}