public int xa_complete (org.omg.CORBA.IntHolder handle, org.omg.CORBA.IntHolder retval, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_complete", true); $out.write_long (handle.value); $out.write_long (retval.value); $out.write_long (rmid); $out.write_ulong (flags); $in = _invoke ($out); int $result = $in.read_long (); handle.value = $in.read_long (); retval.value = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return xa_complete (handle, retval, rmid, flags ); } finally { _releaseReply ($in); } } // xa_complete
int _result = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); try _ax.getInputStream().close(); throw new RuntimeException("Unexpected exception " + e.toString() ); _os.close(); throw new RuntimeException("Unexpected exception " + e.toString() );
int _result = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); try _ax.getInputStream().close(); throw new RuntimeException("Unexpected exception " + e.toString() ); _os.close(); throw new RuntimeException("Unexpected exception " + e.toString() );
public int version () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_version", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return version ( ); } finally { _releaseReply ($in); } } // version
public int rmid () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("rmid", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return rmid ( ); } finally { _releaseReply ($in); } } // rmid
_os.write_ulong(flags); _is = _invoke(_os); int _result = _is.read_long(); handle.value = _is.read_long(); retval.value = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); try _ax.getInputStream().close(); throw new RuntimeException("Unexpected exception " + e.toString() ); _os.close(); throw new RuntimeException("Unexpected exception " + e.toString() );
public int get_timeout () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("get_timeout", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return get_timeout ( ); } finally { _releaseReply ($in); } } // get_timeout
public int type_id () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_type_id", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return type_id ( ); } finally { _releaseReply ($in); } } // type_id
org.omg.CORBA.portable.OutputStream $out = _request ("get_long", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0")) throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
org.omg.CORBA.portable.OutputStream $out = _request ("get_long", true); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0")) throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
public int xa_end (org.omg.CosTransactions.otid_t txid, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_end", true); org.omg.CosTransactions.otid_tHelper.write ($out, txid); $out.write_long (rmid); $out.write_ulong (flags); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return xa_end (txid, rmid, flags ); } finally { _releaseReply ($in); } } // xa_end
public int xa_rollback (org.omg.CosTransactions.otid_t txid, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_rollback", true); org.omg.CosTransactions.otid_tHelper.write ($out, txid); $out.write_long (rmid); $out.write_ulong (flags); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return xa_rollback (txid, rmid, flags ); } finally { _releaseReply ($in); } } // xa_rollback
public int xa_recover (org.omg.XA.XIDsHolder txid, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_recover", true); $out.write_long (rmid); $out.write_ulong (flags); $in = _invoke ($out); int $result = $in.read_long (); txid.value = org.omg.XA.XIDsHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return xa_recover (txid, rmid, flags ); } finally { _releaseReply ($in); } } // xa_recover