From 8fef6a76959160bf73064be48d4aa36b48f27412 Mon Sep 17 00:00:00 2001 From: jestin Date: Mon, 6 Aug 2001 14:32:47 +0000 Subject: Theses docs have been removed from this package. What a pity ! They now belong to the ivy cvsroot. What should I do ? --- doc/html/guide/ivyTranslater.java | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/html/guide/ivyTranslater.java (limited to 'doc/html/guide/ivyTranslater.java') 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(); } -} -- cgit v1.1