TCP server implementation of NDEVRCommunicationLogic using Qt's QTcpServer for NDEVR protocol.
More...
|
| | AdaptiveTCPServer (QObject *parent=nullptr) |
| | Constructs the TCP server.
|
| void | start (quint16 port) |
| | Starts listening on the specified port.
|
|
| void | incomingConnection (qintptr socketDescriptor) override |
| | Handles a new incoming TCP connection.
|
TCP server implementation of NDEVRCommunicationLogic using Qt's QTcpServer for NDEVR protocol.
Definition at line 17 of file AdaptiveTCPServer.h.
◆ AdaptiveTCPServer()
| AdaptiveTCPServer::AdaptiveTCPServer |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
Constructs the TCP server.
- Parameters
-
| [in] | parent | Optional parent QObject. |
◆ incomingConnection()
| void AdaptiveTCPServer::incomingConnection |
( |
qintptr | socketDescriptor | ) |
|
|
overrideprotected |
Handles a new incoming TCP connection.
- Parameters
-
| [in] | socketDescriptor | The native socket descriptor. |
◆ start()
| void AdaptiveTCPServer::start |
( |
quint16 | port | ) |
|
Starts listening on the specified port.
- Parameters
-
| [in] | port | The TCP port to listen on. |
The documentation for this class was generated from the following file: