2#include <NDEVR/NDEVRCommunicationLogic.h>
3#include <NDEVR/Buffer.h>
4#include <NDEVR/QueueBuffer.h>
5#include <NDEVR/Dictionary.h>
9#include <QElapsedTimer>
27 virtual uint08 rx(
void* socket, NDEVRDataPacket& packet)
override;
28 virtual uint08 tx(
void* socket, NDEVRDataPacket& packet,
uint08 size)
override;
29 uint08 bytesAvailable(
void* socket)
override;
30 virtual void wait(
const TimeSpan& span,
LogPtr log =
nullptr)
override;
32 virtual void disconnectFrom(
void* socket);
33 virtual bool isOpen(
void* socket =
nullptr)
const override;
36 void onConnectionReadyRead();
void start(quint16 port)
Starts listening on the specified port.
void incomingConnection(qintptr socketDescriptor) override
Handles a new incoming TCP connection.
AdaptiveTCPServer(QObject *parent=nullptr)
Constructs the TCP server.
A light-weight wrapper that will be a no-op if there is not a valid log reference,...
Stores a time span, or difference between two times, with an optional start time.
The primary namespace for the NDEVR SDK.
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer
Contains the address, credentials, and security flag needed to connect to an NDEVR server.