diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/interaction-client-contribution/src/main/java/scatours/client/InteractionRemoteClient.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/java/scatours/client/InteractionRemoteClient.java b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/java/scatours/client/InteractionRemoteClient.java index 2f198797a1..278c7bb08f 100644 --- a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/java/scatours/client/InteractionRemoteClient.java +++ b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/java/scatours/client/InteractionRemoteClient.java @@ -34,7 +34,7 @@ public class InteractionRemoteClient implements Runnable, SearchCallback{ protected Search hotelSearchRemote; public void run() { - System.out.println("\nCalling hotel component over remote binding"); + System.out.println("\nCalling hotel component over a remote binding"); TripLeg tripLeg = getTestTripLeg(); TripItem[] tripItems = hotelSearchRemote.searchSynch(tripLeg); for (TripItem tripItem : tripItems){ @@ -47,6 +47,10 @@ public class InteractionRemoteClient implements Runnable, SearchCallback{ // so the callback interface is not used } + public void setPercentComplete(String searchComponent, int percentComplete){ + // Not used in this sample + } + private TripLeg getTestTripLeg(){ TripLeg tripLeg = new TripLeg(); tripLeg.setFromLocation("LGW"); |