![]() |
NDEVR
API Documentation
|
A ConnectionBackend that allows the software to interface with QWebSocket for communicating with WebSocket devices. More...
Public Member Functions | |
| virtual Buffer< ConnectionCategory > | availableConnectionCategories () override |
| Returns the categories of connections this factory can provide. | |
| virtual Buffer< ConnectionInfo > | availableConnections (const ConnectionSearchParameters ¶ms) override |
| Discovers and returns available WebSocket connections matching the search parameters. | |
| virtual ConnectionBackend * | createConnection (const ConnectionInfo &request) override |
| Creates a new WebSocketConnection backend for the given connection info. | |
| virtual bool | handlesType (const StringView &request) const override |
| Checks whether this factory handles the given connection type string. | |
| Public Member Functions inherited from ConnectionFactory | |
| virtual bool | canConnectTo (const ConnectionInfo &request) const |
| Checks whether this factory can establish a connection with the given info. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from ConnectionFactory | |
| static Buffer< ConnectionCategory > | AvailableConnectionCategories () |
| Returns all connection categories from all registered factories. | |
| static Buffer< ConnectionInfo > | AvailableConnections (const ConnectionSearchParameters ¶ms) |
| Discovers available connections across all registered factories. | |
| static ConnectionBackend * | CreateConnection (const ConnectionInfo &request) |
| Creates a ConnectionBackend by searching all registered factories for one that handles the request. | |
| static void | RegisterConnectionFactory (ConnectionFactory *factory) |
| Registers a ConnectionFactory so it can be used to create connections. | |
| Static Protected Attributes inherited from ConnectionFactory | |
| static Buffer< ConnectionFactory * > | s_registered_factories |
| All registered connection factories. | |
A ConnectionBackend that allows the software to interface with QWebSocket for communicating with WebSocket devices.
WebSockets is a web technology providing full-duplex communications channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011. QWebSocket can both be used in a client application and server application.
A ConnectionFactory that enables the creation of a WebSocketConnection for interfacing with a QWebSocket
Definition at line 134 of file WebSocketConnection.h.
|
overridevirtual |
Returns the categories of connections this factory can provide.
Implements ConnectionFactory.
|
overridevirtual |
Discovers and returns available WebSocket connections matching the search parameters.
| [in] | params | The search criteria for discovering connections. |
Implements ConnectionFactory.
|
overridevirtual |
Creates a new WebSocketConnection backend for the given connection info.
| [in] | request | The connection parameters for the new connection. |
Implements ConnectionFactory.
|
overridevirtual |
Checks whether this factory handles the given connection type string.
| [in] | request | The connection type identifier to test. |
Implements ConnectionFactory.