Babel
Epitech's C++ VoIP project
Common
Network
IUDPClient.hpp
Go to the documentation of this file.
1
//
2
// Created by cbihan on 28/09/2021.
3
//
4
5
#pragma once
6
7
#include "
Message.hpp
"
8
9
namespace
Babel
10
{
11
class
IUDPClient
12
{
13
public
:
15
void
connect
(
const
std::string &hostname, uint16_t port) = 0;
17
void
send
(
Message
message) = 0;
18
};
19
}
Message.hpp
Babel::Message
Definition:
Message.hpp:46
Babel
Definition:
IAudioManager.hpp:13
Babel::IUDPClient
Definition:
IUDPClient.hpp:11
Babel::IUDPClient::connect
void connect(const std::string &hostname, uint16_t port)=0
connect to a hostname and a port
Babel::IUDPClient::send
void send(Message message)=0
Send the message.
Generated by
1.8.17