Package org.omg.CosTransactions

Examples of org.omg.CosTransactions.Status


/* 422 */       InputStream _is = null;
/*     */       try
/*     */       {
/* 425 */         OutputStream _os = _request("get_status", true);
/* 426 */         _is = _invoke(_os);
/* 427 */         Status _result = StatusHelper.read(_is);
/* 428 */         Status localStatus1 = _result;
/*     */         return localStatus1;
/*     */       }
/*     */       catch (RemarshalException _rx)
/*     */       {
/*     */       }
/*     */       catch (ApplicationException _ax)
/*     */       {
/* 433 */         String _id = _ax.getId();
/* 434 */         throw new RuntimeException("Unexpected exception " + _id);
/*     */       }
/*     */       finally
/*     */       {
/* 438 */         _releaseReply(_is);
/*     */       }
/*     */
/*     */     }
/*     */
/* 443 */     ServantObject _so = _servant_preinvoke("get_status", _opsClass);
/* 444 */     if (_so == null)
/* 445 */       throw new UNKNOWN("local invocations not supported!"); CoordinatorExtOperations _localServant = (CoordinatorExtOperations)_so.servant;
/*     */     Status _result;
/*     */     try {
/* 450 */       _result = _localServant.get_status();
/*     */     }
/*     */     finally
/*     */     {
View Full Code Here


/* 617 */       InputStream _is = null;
/*     */       try
/*     */       {
/* 620 */         OutputStream _os = _request("get_parent_status", true);
/* 621 */         _is = _invoke(_os);
/* 622 */         Status _result = StatusHelper.read(_is);
/* 623 */         Status localStatus1 = _result;
/*     */         return localStatus1;
/*     */       }
/*     */       catch (RemarshalException _rx)
/*     */       {
/*     */       }
/*     */       catch (ApplicationException _ax)
/*     */       {
/* 628 */         String _id = _ax.getId();
/* 629 */         throw new RuntimeException("Unexpected exception " + _id);
/*     */       }
/*     */       finally
/*     */       {
/* 633 */         _releaseReply(_is);
/*     */       }
/*     */
/*     */     }
/*     */
/* 638 */     ServantObject _so = _servant_preinvoke("get_parent_status", _opsClass);
/* 639 */     if (_so == null)
/* 640 */       throw new UNKNOWN("local invocations not supported!"); CoordinatorExtOperations _localServant = (CoordinatorExtOperations)_so.servant;
/*     */     Status _result;
/*     */     try {
/* 645 */       _result = _localServant.get_parent_status();
/*     */     }
/*     */     finally
/*     */     {
View Full Code Here

/*   28 */       InputStream _is = null;
/*      */       try
/*      */       {
/*   31 */         OutputStream _os = _request("get_top_level_status", true);
/*   32 */         _is = _invoke(_os);
/*   33 */         Status _result = StatusHelper.read(_is);
/*   34 */         Status localStatus1 = _result;
/*      */         return localStatus1;
/*      */       }
/*      */       catch (RemarshalException _rx)
/*      */       {
/*      */       }
/*      */       catch (ApplicationException _ax)
/*      */       {
/*   39 */         String _id = _ax.getId();
/*   40 */         throw new RuntimeException("Unexpected exception " + _id);
/*      */       }
/*      */       finally
/*      */       {
/*   44 */         _releaseReply(_is);
/*      */       }
/*      */
/*      */     }
/*      */
/*   49 */     ServantObject _so = _servant_preinvoke("get_top_level_status", _opsClass);
/*   50 */     if (_so == null)
/*   51 */       throw new UNKNOWN("local invocations not supported!"); TransactionServiceOperations _localServant = (TransactionServiceOperations)_so.servant;
/*      */     Status _result;
/*      */     try {
/*   56 */       _result = _localServant.get_top_level_status();
/*      */     }
/*      */     finally
/*      */     {
View Full Code Here

/*      */       try
/*      */       {
/*  130 */         OutputStream _os = _request("replay_completion", true);
/*  131 */         ResourceHelper.write(_os, r);
/*  132 */         _is = _invoke(_os);
/*  133 */         Status _result = StatusHelper.read(_is);
/*  134 */         Status localStatus1 = _result;
/*      */         return localStatus1;
/*      */       }
/*      */       catch (RemarshalException _rx)
/*      */       {
/*      */       }
/*      */       catch (ApplicationException _ax)
/*      */       {
/*  139 */         String _id = _ax.getId();
/*  140 */         if (_id.equals("IDL:omg.org/CosTransactions/NotPrepared:1.0"))
/*      */         {
/*  142 */           throw NotPreparedHelper.read(_ax.getInputStream());
/*      */         }
/*  144 */         throw new RuntimeException("Unexpected exception " + _id);
/*      */       }
/*      */       finally
/*      */       {
/*  148 */         _releaseReply(_is);
/*      */       }
/*      */
/*      */     }
/*      */
/*  153 */     ServantObject _so = _servant_preinvoke("replay_completion", _opsClass);
/*  154 */     if (_so == null)
/*  155 */       throw new UNKNOWN("local invocations not supported!"); TransactionServiceOperations _localServant = (TransactionServiceOperations)_so.servant;
/*      */     Status _result;
/*      */     try {
/*  160 */       _result = _localServant.replay_completion(r);
/*      */     }
/*      */     finally
/*      */     {
View Full Code Here

/*  579 */       InputStream _is = null;
/*      */       try
/*      */       {
/*  582 */         OutputStream _os = _request("get_status", true);
/*  583 */         _is = _invoke(_os);
/*  584 */         Status _result = StatusHelper.read(_is);
/*  585 */         Status localStatus1 = _result;
/*      */         return localStatus1;
/*      */       }
/*      */       catch (RemarshalException _rx)
/*      */       {
/*      */       }
/*      */       catch (ApplicationException _ax)
/*      */       {
/*  590 */         String _id = _ax.getId();
/*  591 */         throw new RuntimeException("Unexpected exception " + _id);
/*      */       }
/*      */       finally
/*      */       {
/*  595 */         _releaseReply(_is);
/*      */       }
/*      */
/*      */     }
/*      */
/*  600 */     ServantObject _so = _servant_preinvoke("get_status", _opsClass);
/*  601 */     if (_so == null)
/*  602 */       throw new UNKNOWN("local invocations not supported!"); TransactionServiceOperations _localServant = (TransactionServiceOperations)_so.servant;
/*      */     Status _result;
/*      */     try {
/*  607 */       _result = _localServant.get_status();
/*      */     }
/*      */     finally
/*      */     {
View Full Code Here

/*  825 */       InputStream _is = null;
/*      */       try
/*      */       {
/*  828 */         OutputStream _os = _request("get_parent_status", true);
/*  829 */         _is = _invoke(_os);
/*  830 */         Status _result = StatusHelper.read(_is);
/*  831 */         Status localStatus1 = _result;
/*      */         return localStatus1;
/*      */       }
/*      */       catch (RemarshalException _rx)
/*      */       {
/*      */       }
/*      */       catch (ApplicationException _ax)
/*      */       {
/*  836 */         String _id = _ax.getId();
/*  837 */         throw new RuntimeException("Unexpected exception " + _id);
/*      */       }
/*      */       finally
/*      */       {
/*  841 */         _releaseReply(_is);
/*      */       }
/*      */
/*      */     }
/*      */
/*  846 */     ServantObject _so = _servant_preinvoke("get_parent_status", _opsClass);
/*  847 */     if (_so == null)
/*  848 */       throw new UNKNOWN("local invocations not supported!"); TransactionServiceOperations _localServant = (TransactionServiceOperations)_so.servant;
/*      */     Status _result;
/*      */     try {
/*  853 */       _result = _localServant.get_parent_status();
/*      */     }
/*      */     finally
/*      */     {
View Full Code Here

TOP

Related Classes of org.omg.CosTransactions.Status

Copyright © 2018 www.massapicom. 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.