From 4e6c74989f2f7a3d3c9e2399ce1390ec4c4f7eaa Mon Sep 17 00:00:00 2001 From: Niamh25 <115650292+Niamh25@users.noreply.github.com> Date: Tue, 6 Dec 2022 16:09:54 +0000 Subject: [PATCH] Update MyFirstFlow.java --- .../com/r3/developers/csdetemplate/MyFirstFlow.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/r3/developers/csdetemplate/MyFirstFlow.java b/src/main/java/com/r3/developers/csdetemplate/MyFirstFlow.java index ebbc43c..b0e5233 100644 --- a/src/main/java/com/r3/developers/csdetemplate/MyFirstFlow.java +++ b/src/main/java/com/r3/developers/csdetemplate/MyFirstFlow.java @@ -28,13 +28,13 @@ public class MyFirstFlow implements RPCStartableFlow { @CordaInject public JsonMarshallingService jsonMarshallingService; - // FlowMessaging establishes flow sessions between virtual nodes + // FlowMessaging provides a service that establishes flow sessions between virtual nodes // that send and receive payloads between them. @CordaInject public FlowMessaging flowMessaging; - // MemberLookup looks for information about members of the virtual network - // which this CorDapp operates in. + // MemberLookup provides a service for looking up information about members of the virtual network which + // this CorDapp operates in. @CordaInject public MemberLookup memberLookup; @@ -79,7 +79,7 @@ public class MyFirstFlow implements RPCStartableFlow { // Receive a response from the responder flow. Message response = session.receive(Message.class); - // The return value of a RPCStartableFlow must always be a string. This string will pass + // The return value of a RPCStartableFlow must always be a String. This will be passed // back as the REST RPC response when the status of the flow is queried on Corda, or as the return // value from the flow when testing using the simulator. return response.message; @@ -96,4 +96,4 @@ RequestBody for triggering the flow via http-rpc: "otherMember":"CN=Bob, OU=Test Dept, O=R3, L=London, C=GB" } } - */ \ No newline at end of file + */