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::Transport
20 {
22 {
23 protected:
24  virtual bool process(TcpClient& client, char* data, int size) = 0;
25 };
26 
27 } // namespace Hosted::Transport
Definition: BaseTransport.h:22
Definition: TcpTransport.h:22
virtual bool process(TcpClient &client, char *data, int size)=0
Definition: TcpClient.h:46
Definition: BaseTransport.h:20