3#include <NDEVR/Connection.h>
16 virtual void tx(
const String& command)
override;
18 virtual void close()
override;
19 virtual bool isOpen()
const override;
20 virtual uint04 bytesAvailable()
const override;
22 virtual bool setPort(QWebSocket* tcp_port);
23 virtual bool waitForReadyRead(
const TimeSpan& span)
override;
24 virtual bool waitForConnection(QWebSocket* socket,
const ConnectionInfo& request);
25 void setSocket(QWebSocket* socket);
27 void handleSocketErrorSlot(
int error);
28 void binaryMessageRecieved(
const QByteArray& array);
29 void textMessageRecieved(
const QString& message);
31 QWebSocket* 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 TranslatedString.h:9
Definition WebSocketConnection.h:36
virtual Buffer< ConnectionInfo > availableConnections(const ConnectionSearchParamaters ¶ms) override
Definition WebSocketConnection.cpp:258
virtual bool handlesType(const String &request) const override
Definition WebSocketConnection.cpp:243
virtual ConnectionBackend * createConnection(const ConnectionInfo &request) override
Definition WebSocketConnection.cpp:254
virtual Buffer< ConnectionCategory > availableConnectionCatagories() override
Definition WebSocketConnection.cpp:263
Definition WebSocketConnection.h:9
TranslatedString m_last_error
Definition WebSocketConnection.h:32
String m_data
Definition WebSocketConnection.h:33
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition Connection.h:87
Definition Connection.h:120
Definition BaseValues.hpp:272