HiveMind
src
bsp
src
posix
include
SocketFactory.h
Go to the documentation of this file.
1
#ifndef __SOCKETFACTORY_H_
2
#define __SOCKETFACTORY_H_
3
4
#include <
logger/ILogger.h
>
5
#include <optional>
6
7
class
TCPClient
;
8
9
namespace
SocketFactory
{
10
11
std::optional<TCPClient>
createTCPClient
(
const
char
* address, uint32_t port,
ILogger
& logger);
12
13
}
// namespace SocketFactory
14
15
#endif // __SOCKETFACTORY_H_
SocketFactory::createTCPClient
std::optional< TCPClient > createTCPClient(const char *address, uint32_t port, ILogger &logger)
Definition:
SocketFactory.cpp:8
TCPClient
Definition:
TCPClient.h:12
ILogger
A logger class with basic logging capabilities.
Definition:
ILogger.h:35
SocketFactory
Definition:
SocketFactory.h:9
ILogger.h
Generated by
1.8.17