3#include <NDEVR/Connection.h>
12 virtual uint04 peek(
char*,
uint04 size)
const final override;
14 virtual void tx(
const String& command)
final override;
16 virtual void close()
final override;
17 virtual bool isOpen()
const final override;
18 virtual uint04 bytesAvailable()
const override;
22 virtual bool waitForReadyRead(
const TimeSpan& span)
final override;
23 virtual bool waitForConnection(QAbstractSocket* socket,
const ConnectionInfo& request);
24 void setSocket(QAbstractSocket* socket);
29 void handleSocketErrorSlot(
int error);
31 QAbstractSocket* m_socket =
nullptr;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Connection.h:134
Definition Connection.h:155
Definition ProgressInfo.hpp:43
Definition SocketConnection.h:36
virtual Buffer< ConnectionInfo > availableConnections(const ConnectionSearchParamaters ¶ms) override
Definition SocketConnection.cpp:395
virtual bool handlesType(const String &request) const override
Definition SocketConnection.cpp:379
virtual ConnectionBackend * createConnection(const ConnectionInfo &request) override
Definition SocketConnection.cpp:391
virtual Buffer< ConnectionCategory > availableConnectionCatagories() override
Definition SocketConnection.cpp:400
Definition SocketConnection.h:8
TranslatedString m_last_error
Definition SocketConnection.h:32
Definition TranslatedString.h:9
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
uint16_t uint02
-Defines an alias representing a 2 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:109
ConnectionOpenType
Definition Connection.h:69
Definition Connection.h:87
Definition Connection.h:120
Definition BaseValues.hpp:272