Sming Framework API
()
Toggle main menu visibility
Sming
Components
Hosted
include
Hosted
Transport
TcpTransport.h
Go to the documentation of this file.
1
/****
2
* Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3
* Created 2015 by Skurydin Alexey
4
* http://github.com/SmingHub/Sming
5
* All files of the Sming Core are provided under the LGPL v3 license.
6
*
7
* TcpTransport.h
8
*
9
* @author 2021 Slavey Karadzhov <slav@attachix.com>
10
*
11
*
12
****/
13
14
#pragma once
15
16
#include <
Network/TcpServer.h
>
17
#include "
BaseTransport.h
"
18
19
namespace
Hosted
20
{
21
namespace
Transport
22
{
23
class
TcpTransport :
public
BaseTransport
24
{
25
protected
:
26
virtual
bool
process
(
TcpClient
& client,
char
* data,
int
size) = 0;
27
};
28
29
}
// namespace Transport
30
31
}
// namespace Hosted
TcpServer.h
TcpClient
Definition:
TcpClient.h:45
Hosted
Definition:
Components/Hosted/include/Hosted/Client.h:31
Hosted::Transport::TcpTransport::process
virtual bool process(TcpClient &client, char *data, int size)=0
BaseTransport.h
Generated by
1.8.17