Exemplo n.º 1
0
 private org.omg.CORBA.portable.OutputStream _OB_op_startup(
     org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) {
   org.omg.CORBA.portable.OutputStream out = null;
   try {
     String _ob_a0 = in.read_string();
     String _ob_a1 = in.read_string();
     org.omg.PortableInterceptor.ObjectReferenceTemplate _ob_a2 =
         org.omg.PortableInterceptor.ObjectReferenceTemplateHelper.read(in);
     org.apache.yoko.orb.OAD.ProcessEndpointManagerHolder _ob_ah3 =
         new org.apache.yoko.orb.OAD.ProcessEndpointManagerHolder();
     ActiveState _ob_r = startup(_ob_a0, _ob_a1, _ob_a2, _ob_ah3);
     out = handler.createReply();
     ActiveStateHelper.write(out, _ob_r);
     org.apache.yoko.orb.OAD.ProcessEndpointManagerHelper.write(out, _ob_ah3.value);
   } catch (NoSuchServer _ob_ex) {
     out = handler.createExceptionReply();
     NoSuchServerHelper.write(out, _ob_ex);
   } catch (NoSuchOAD _ob_ex) {
     out = handler.createExceptionReply();
     NoSuchOADHelper.write(out, _ob_ex);
   } catch (OADNotRunning _ob_ex) {
     out = handler.createExceptionReply();
     OADNotRunningHelper.write(out, _ob_ex);
   }
   return out;
 }
Exemplo n.º 2
0
 private org.omg.CORBA.portable.OutputStream _OB_op_get_oad_record(
     org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler handler) {
   org.omg.CORBA.portable.OutputStream out = null;
   try {
     String _ob_a0 = in.read_string();
     OADInfo _ob_r = get_oad_record(_ob_a0);
     out = handler.createReply();
     OADInfoHelper.write(out, _ob_r);
   } catch (NoSuchOAD _ob_ex) {
     out = handler.createExceptionReply();
     NoSuchOADHelper.write(out, _ob_ex);
   }
   return out;
 }