Skip to content
This repository was archived by the owner on Feb 22, 2019. It is now read-only.
This repository was archived by the owner on Feb 22, 2019. It is now read-only.

WebSocket EOperation and IProgressMonitor parameter #29

@pvlasov

Description

@pvlasov

For long-running EOperations add support of WebSocket creation (leverage existing websocket routing functionality). Create an instanceof IProgressMonitor which would send/receive commands over the WebSocket (look for simple message interface in the existing code/examples). On the browser side have a promise backed by the web socket and wired to the progress monitor methods. Maybe have a standard operation invocation page displaying the monitor, cancel button, and the result when the monitor is done.

Something like this:

  1. Input form submit button disables the form, creates a web socket and makes the progress bar and log item list visible.
  2. Progress notifications are dispatched to the progress bar (completion percentage) status well (current task/subtask) or log items list depending on progress notification type attribute.
  3. When the promise is resolved or rejected the result or rejection message are displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions