aboutsummaryrefslogtreecommitdiff
path: root/src/After.java
diff options
context:
space:
mode:
authorjestin2012-05-12 14:26:08 +0000
committerjestin2012-05-12 14:26:08 +0000
commit4ffe8b84071babe544086f94c66431380d301d59 (patch)
tree12c9c3a4d6f00c071d8cd298f041dc383e887ff7 /src/After.java
parent6fbefad24ec7e8783365db61b03357d50ee0dd56 (diff)
downloadivy-java-4ffe8b84071babe544086f94c66431380d301d59.zip
ivy-java-4ffe8b84071babe544086f94c66431380d301d59.tar.gz
ivy-java-4ffe8b84071babe544086f94c66431380d301d59.tar.bz2
ivy-java-4ffe8b84071babe544086f94c66431380d301d59.tar.xz
- minor code cleanup
- adds a separate file (Protocol.java) containing the Enum values in a proper pattern - resolved a synchronization bug on Ivy.stop()
Diffstat (limited to 'src/After.java')
-rw-r--r--src/After.java8
1 files changed, 7 insertions, 1 deletions
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 <a href="http://www.tls.cena.fr/products/ivy/">http://www.tls.cena.fr/products/ivy/</a>