Definition at line 32 of file g4mini.java.
static void g4mini.main |
( |
String[] |
args | ) |
|
|
inlinestatic |
Definition at line 34 of file g4mini.java.
39 final int DEFALUT_PORT_NO = 40801 ;
40 int portNo = DEFALUT_PORT_NO ;
43 if( args.length != 2 )
45 System.out.println(
"Usage: java g4mini src_file server_hostname");
49 String server = args[1];
52 Socket socket =
new Socket( server, portNo ) ;
56 =
new BufferedReader (
new FileReader ( src ) ) ;
60 =
new BufferedWriter (
new OutputStreamWriter ( socket.getOutputStream() ) ) ;
64 while ( (line = br.readLine()) != null )
79 System.out.println( e.toString() );
The documentation for this class was generated from the following file:
- source/geant4.10.03.p03/source/visualization/VRML/g4vrmlview/g4mini.java