mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
d2d7cbc9ec
* Remove progress Observable from FlowHandle, unless explicitly requested. * Refactor FlowHandle creation into FlowStateMachine. * Prevent server-side queue subscription for dummy Observable. * Refactor so that RPC client does not receive any unused progress Observables. This is the simplest way of ensuring we have no dangling "hot" Observables when the RPC client closes. * Test flow has correct handle. * Resolve some compiler warnings. * Document how starting a flow does not involve progress tracking by default. * Update changelog and release notes for RPC API. * Rename new RPC API to startTrackedFlow(). * Remove optimisation because of its affect on the client-side. * Update documentation. |
||
---|---|---|
.. | ||
lib | ||
src | ||
build.gradle | ||
README.md |
Attachment Demo
This code demonstrates sending a transaction with an attachment from one to node to another, and the receiving node accessing the attachment.
Please see the either the online documentation for more info on the attachment demo, or the included offline version.
From the root directory of the repository, run the following commands (on mac / unix, replace gradle
with ./gradlew
)
gradle samples:attachment-demo:deployNodes
./samples/attachment-demo/build/nodes/runnodes
gradle samples:attachment-demo:runRecipient # (in one window)
gradle samples:attachment-demo:runSender # (in another window)