High-level OWL server client that combines WebSocket communication with file transfer, credential management, and UI dialog coordination.
More...
|
| | OWLClientInterface (DesignObjectLookup *lookup, WindowManager *window_manager) |
| | Constructs the OWL client interface.
|
| void | connectionChangedSignal (bool is_connected) |
| | Emitted when the connection state changes.
|
| OWLCredentialsDialog * | credentialsDialog () |
| | Returns the credentials dialog, creating it if needed.
|
| OWLExportDialog * | exportDialog () |
| | Returns the export dialog, creating it if needed.
|
| OWLFileManager * | fileManager () |
| | Returns the file manager dialog, creating it if needed.
|
| void | finishedSignal (ServerRequestType) |
| | Emitted when a server request has completed.
|
| virtual void | onConnectionChanged (void *, bool is_connected) override |
| | Called when the server connection state changes.
|
| virtual void | onReceive (NDEVRConnectionData &data) override |
| | Handles received data from the server connection.
|
|
void | openDownloadedData () |
| | Opens the most recently downloaded data in the application.
|
| LogPtr & | progress () |
| | Returns the progress log for tracking operations.
|
| virtual ServerCommandReturn | pushData () override |
| | Pushes the current project data to the server.
|
|
void | requestShowCredentialsSignal () |
| | Emitted when credentials need to be shown to the user.
|
| OwlServerSettingsDialog * | serverManagerDialog () |
| | Returns the server settings dialog, creating it if needed.
|
| void | setAllowBackButton (bool allow) |
| | Enables or disables the back button on dialogs.
|
| void | showDuplicateUserWarning (PopupInfo info) |
| | Shows a warning when a duplicate user is detected.
|
| void | showNoUserWarning (PopupInfo info) |
| | Shows a warning when no user account is found.
|
| void | showWarning (PopupInfo info, ServerRequestType request_type) |
| | Shows a warning popup for a failed server request.
|
| WindowManager * | windowManager () const |
| | Returns the window manager.
|
| | AdaptiveWebClient (QObject *parent=nullptr) |
| | Constructs the WebSocket client.
|
| virtual uint08 | bytesAvailable (void *socket) override |
| | Returns the number of bytes available for reading.
|
| void * | connectTo (const NDEVRServerInfo &info) override |
| | Establishes a connection to the specified server.
|
| void | connectToServer (const StringView &host, uint04 port, bool secure) |
| | Initiates a WebSocket connection to the specified host and port.
|
| virtual void | disconnectFrom (void *socket) override |
| | Disconnects from the specified socket.
|
| virtual bool | isOpen (void *socket=nullptr) const override |
| | Checks whether the socket is currently connected.
|
| virtual uint08 | rx (void *socket, NDEVRDataPacket &packet) override |
| | Receives data from the socket into a packet.
|
| virtual uint08 | tx (void *socket, NDEVRDataPacket &packet, uint08 size) override |
| | Transmits packet data through the socket.
|
| void | updateWindowSize (NDEVRConnectionData &state) override |
| | Updates the protocol window size for flow control.
|
| virtual void | wait (const TimeSpan &span, LogPtr log=nullptr) override |
| | Waits for the specified time span, processing events.
|
High-level OWL server client that combines WebSocket communication with file transfer, credential management, and UI dialog coordination.
Provides methods for uploading, downloading, and managing files on an OWL server, as well as lazily creating the associated UI dialogs.
Definition at line 27 of file OWLClientInterface.h.