125126127128129130131132133134135
if (non_exist) { System.out.println("NotificationService not available !"); System.exit(1); } _orb.run(); } catch (Exception e) { e.printStackTrace(); System.exit(1); } }
138139140141142143144145146147148
pw.flush(); pw.close(); // wait for requests orb.run(); } catch( Exception e ) { e.printStackTrace(); }
6263646566676869707172
org.omg.CORBA.Object demo = poa.servant_to_reference( new Server( orb )); PrintWriter pw = new PrintWriter( new FileWriter( args[ 0 ] )); pw.println( orb.object_to_string( demo )); pw.flush(); pw.close(); orb.run(); } catch( Exception e ) { e.printStackTrace(); }
7374757677787980818283
pw.println(orb.object_to_string(demo)); pw.flush(); pw.close(); // run the ORB orb.run(); } catch (Exception e) { e.printStackTrace(); } } }
686970717273747576
System.out.println( _orb.object_to_string( obj ) ); System.out.flush(); // wait for requests _orb.run(); } } // EchoServerImpl
5051525354555657585960
System.out.println ("SERVER IOR: " + orb.object_to_string(obj)); System.out.flush(); // wait for requests orb.run(); } catch( Exception e ) { e.printStackTrace(); System.out.println ("Caught error " + e);
5152535455565758
System.out.println ("SERVER IOR: " + serverOrb.object_to_string(obj)); System.out.flush(); // wait for requests serverOrb.run(); } }
5051525354555657
objref = stub._duplicate(); System.out.println("SERVER IOR: " + orb.object_to_string(objref)); System.out.flush(); orb.run(); } }