OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
IpConverter.h
Go to the documentation of this file.
1/*
2 * ipConverter.h
3 *
4 * Created on: November 30, 2020
5 * Author: Alexander Kuester
6 * Copyright (c) 2020 openTwin
7 */
8
9#pragma once
10
11// OpenTwin header
13
14 // std header
15#include <string>
16
17namespace ot {
18
20 public:
22 virtual ~IpConverter() {}
23
27 static std::string filterIpFromSender(const std::string& _senderIP, const std::string& _senderPort);
28
31 static std::string portFromIp(const std::string& _ip);
32
35 static std::string hostFromIp(const std::string& _ip);
36
37 private:
38 IpConverter(const IpConverter&) = delete;
39 };
40
41}
#define OT_COMMUNICATION_API_EXPORT
Definition CommunicationAPIExport.h:6
const char * _senderIP
Definition dllmain.cpp:39
Definition IpConverter.h:19
virtual ~IpConverter()
Definition IpConverter.h:22
IpConverter()
Definition IpConverter.h:21
Definition Connector.h:8