Update doc to reflect removed RPC client. (#4777)

This commit is contained in:
Joel Dudley 2019-02-17 17:33:06 +00:00 committed by GitHub
parent 4434a005dd
commit 9dadf0db96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,32 +427,6 @@ Via the h2 web console
You can connect directly to your node's database to see its stored states, transactions and attachments. To do so,
please follow the instructions in :doc:`node-database`.
Using the example RPC client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``/src/main/kotlin/com/example/client/ExampleClientRPC.kt`` defines a simple RPC client that connects to a node,
logs any existing IOUs and listens for any future IOUs. If you haven't created
any IOUs when you first connect to one of the nodes, the client will simply log any future IOUs that are agreed.
Running the client via IntelliJ
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Run the 'Run Example RPC Client' run configuration. By default, this run configuration is configured to connect to
PartyA. You can edit the run configuration to connect on a different port.
Running the client via the command line
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Run the following gradle task:
``./gradlew runExampleClientRPCKotlin``
This will connect the RPC client to PartyA and log their past and future IOU activity.
You can close the application using ``ctrl+C``.
For more information on the client RPC interface and how to build an RPC client application, see:
* :doc:`Client RPC documentation <clientrpc>`
* :doc:`Client RPC tutorial <tutorial-clientrpc-api>`
Running nodes across machines
-----------------------------
The nodes can be configured to communicate as a network even when distributed across several machines: