Package org.omg.CORBA.portable

Examples of org.omg.CORBA.portable.OutputStream.write_string()


                        result = target.getStatus ( arg0 );
                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
View Full Code Here


                        target.setRollbackOnly ( arg0 );
                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
View Full Code Here

    public static void insertSystemException(SystemException ex, Any any) {
        OutputStream out = any.create_output_stream();
        ORB orb = (ORB)(out.orb());
        String name = ex.getClass().getName();
        String repID = ORBUtility.repositoryIdOf(name);
        out.write_string(repID);
        out.write_long(ex.minor);
        out.write_long(ex.completed.value());
        any.read_value(out.create_input_stream(),
            getSystemExceptionTypeCode(orb, repID, name));
    }
View Full Code Here

/* 270 */         UnavailableHelper.write(_out, _ex0);
/*     */       }
/*     */
/*     */     case 19:
/* 276 */       _out = handler.createReply();
/* 277 */       _out.write_string(get_transaction_name());
/* 278 */       break;
/*     */     case 20:
/* 282 */       _out = handler.createReply();
/* 283 */       TransactionIdHelper.write(_out, get_transaction_id());
/* 284 */       break;
View Full Code Here

/* 198 */       _out = handler.createReply();
/* 199 */       TransactionIdHelper.write(_out, get_transaction_id());
/* 200 */       break;
/*     */     case 15:
/* 204 */       _out = handler.createReply();
/* 205 */       _out.write_string(get_transaction_name());
/* 206 */       break;
/*     */     case 16:
/*     */       try
/*     */       {
/* 212 */         SubtransactionAwareResource _arg0 = SubtransactionAwareResourceHelper.read(_input);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.