KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > systest > routing > passthrough > PassThroughRouter


1 package org.objectweb.celtix.systest.routing.passthrough;
2
3 import org.objectweb.celtix.systest.routing.RouterServer;
4
5 public class PassThroughRouter extends RouterServer {
6     public PassThroughRouter(String JavaDoc[] args) {
7         super(args);
8     }
9
10     public static void main(String JavaDoc[] args) {
11         PassThroughRouter s = null;
12         try {
13             s = new PassThroughRouter(args);
14             s.start();
15             //s.run();
16
} catch (Exception JavaDoc ex) {
17             ex.printStackTrace();
18             System.exit(-1);
19         } finally {
20             System.out.println("done!");
21         }
22     }
23 }
24
Popular Tags