diff options
author | jestin | 2001-08-06 14:32:47 +0000 |
---|---|---|
committer | jestin | 2001-08-06 14:32:47 +0000 |
commit | 8fef6a76959160bf73064be48d4aa36b48f27412 (patch) | |
tree | 0302bba851a31c9c75973239364094a2c5fa49cb /doc/html/guide/ivyTranslater.java | |
parent | 5e78d21ce9c03add4bee47b0eb8ab359b639b306 (diff) | |
download | ivy-java-8fef6a76959160bf73064be48d4aa36b48f27412.zip ivy-java-8fef6a76959160bf73064be48d4aa36b48f27412.tar.gz ivy-java-8fef6a76959160bf73064be48d4aa36b48f27412.tar.bz2 ivy-java-8fef6a76959160bf73064be48d4aa36b48f27412.tar.xz |
Theses docs have been removed from this package. What a pity ! They now belong
to the ivy cvsroot. What should I do ?
Diffstat (limited to 'doc/html/guide/ivyTranslater.java')
-rw-r--r-- | doc/html/guide/ivyTranslater.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/doc/html/guide/ivyTranslater.java b/doc/html/guide/ivyTranslater.java deleted file mode 100644 index 696633c..0000000 --- a/doc/html/guide/ivyTranslater.java +++ /dev/null @@ -1,29 +0,0 @@ -import fr.dgac.ivy.* ; - -class ivyTranslater implements IvyMessageListener { - - private Ivy bus; - - ivyTranslater() { - // initialization - bus = new Ivy("IvyTranslater","Hello le monde",null); - bus.bindMsg("^Hello(.*)",this); - bus.bindMsg("^Bye$",new IvyMessageListener() { - // callback for "Bye" message - public void receive(IvyClient client, String[] args) {System.exit(0);} - }); - try { - // starts the bus on the default domain or IVY_DOMAIN property - bus.start(null); - } catch (IvyException ie) { - System.err.println("can't run the Ivy bus" + ie.getMessage()); - } - } - - // callback associated to the "Hello" messages" - public void receive(IvyClient client, String[] args) { - bus.sendMsg("Bonjour"+((args.length>0)?args[0]:"")); - } - - public static void main(String args[]) { new ivyTranslater(); } -} |