[bisq-network/bisq] Add api method 'stop' (#5202)

Stan notifications at github.com
Thu Feb 18 16:16:58 CET 2021


This change gives CLI users a `stop` command to shutdown a daemon.

- Server side gRPC boilerplate was added to` :proto` and `:daemon`.

- When the new `GrpcShutdownService` accepts a `stop` request from the CLI,
  it calls `UserThread.runAfter(BisqHeadlessApp.getShutDownHandler(), 500, MILLISECONDS);
`
- Method help file `stop-help.txt` was added to `:core`.

- Client side gRPC boilerplate and `stop` implementation was added to `:cli`.

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5202

-- Commit Summary --

  * Add api method 'stop'

-- File Changes --

    M cli/src/main/java/bisq/cli/CliMain.java (14)
    M cli/src/main/java/bisq/cli/GrpcStubs.java (3)
    M cli/src/main/java/bisq/cli/Method.java (3)
    A core/src/main/resources/help/stop-help.txt (22)
    M daemon/src/main/java/bisq/daemon/grpc/GrpcServer.java (2)
    A daemon/src/main/java/bisq/daemon/grpc/GrpcShutdownService.java (59)
    M proto/src/main/proto/grpc.proto (15)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5202.patch
https://github.com/bisq-network/bisq/pull/5202.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210218/e59df322/attachment-0001.htm>


More information about the bisq-github mailing list