From 4ffe8b84071babe544086f94c66431380d301d59 Mon Sep 17 00:00:00 2001 From: jestin Date: Sat, 12 May 2012 14:26:08 +0000 Subject: - minor code cleanup - adds a separate file (Protocol.java) containing the Enum values in a proper pattern - resolved a synchronization bug on Ivy.stop() --- src/After.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/After.java') diff --git a/src/After.java b/src/After.java index 0ca78ca..7b5af07 100644 --- a/src/After.java +++ b/src/After.java @@ -1,5 +1,11 @@ /** - * an utility waiting for a message to come, then exiting. + * an utility waiting for a message to come, then exiting + * the typical use is to stop a script execution flow until a message has been + * received in a shell script the following way + * + * echo "waiting for Toto" + * java -classpath ivy-java.jar fr.dgac.ivy.tools.After -b 224.5.6.7:8910 "Toto READY" + * echo "Toto is here, continuing". * * @author Yannick Jestin * @author http://www.tls.cena.fr/products/ivy/ -- cgit v1.1