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
private static enum SyncScope { NONE (org.omg.Messaging.SYNC_NONE.value), TRANSPORT (org.omg.Messaging.SYNC_WITH_TRANSPORT.value), SERVER (org.omg.Messaging.SYNC_WITH_SERVER.value), TARGET (org.omg.Messaging.SYNC_WITH_TARGET.value); public static SyncScope getSyncScope (String ss) throws ConfigurationException { try { return valueOf (ss.toUpperCase ()); } catch (IllegalArgumentException e) { throw new ConfigurationException ("Invalid type for SyncScope", e); } } public short getType () { return value; } private short value; private SyncScope(short value) { this.value = value; } };
/** * Inserts an integer value into the DynAny. The IDL long data type is mapped to the Java int data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("insert_long", true); $out.write_long (value); $in = _invoke ($out); return; } 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); else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0")) throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { insert_long (value ); } finally { _releaseReply ($in); } } // insert_long
_os.write_long(sessionID); _os.write_long(sessionTimeLeft); _is = _invoke(_os); return; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
/** * Inserts an integer value into the DynAny. The IDL long data type is mapped to the Java int data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("insert_long", true); $out.write_long (value); $in = _invoke ($out); return; } 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); else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0")) throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in); else throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { insert_long (value ); } finally { _releaseReply ($in); } } // insert_long
_os.write_long(callLegSessionID); _is = _invoke(_os); return; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamNextPage(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("cursoredStreamNextPage", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 cursoredStreamNextPage(arg0, arg1); } finally { _releaseReply(_in); } } // cursoredStreamNextPage
_os.write_long(callReference); _is = _invoke(_os); return; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamNextPage(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("cursoredStreamNextPage", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 cursoredStreamNextPage(arg0, arg1); } finally { _releaseReply(_in); } } // cursoredStreamNextPage
_os.write_long(callSessionID); org.csapi.cc.TpCallInfoReportHelper.write(_os,callInfoReport); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorRelative(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("scrollableCursorRelative", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 scrollableCursorRelative(arg0, arg1); } finally { _releaseReply(_in); } } // scrollableCursorRelative
_os.write_long(callLegSessionID); org.csapi.cc.TpCallErrorHelper.write(_os,errorIndication); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAbsolute(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("scrollableCursorAbsolute", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 scrollableCursorAbsolute(arg0, arg1); } finally { _releaseReply(_in); } } // scrollableCursorAbsolute
_os.write_long(callLegSessionID); org.csapi.cc.TpCallErrorHelper.write(_os,errorIndication); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAbsolute(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("scrollableCursorAbsolute", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 scrollableCursorAbsolute(arg0, arg1); } finally { _releaseReply(_in); } } // scrollableCursorAbsolute
_os.write_long(callLegSessionID); org.csapi.cc.TpCallErrorHelper.write(_os,errorIndication); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamNextPage(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("cursoredStreamNextPage", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 cursoredStreamNextPage(arg0, arg1); } finally { _releaseReply(_in); } } // cursoredStreamNextPage
_os.write_long(callLegSessionID); org.csapi.cc.TpReleaseCauseHelper.write(_os,cause); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorRelative(org.eclipse.persistence.internal.sessions.remote.Transporter arg0, int arg1) { org.omg.CORBA.portable.InputStream _in = null; try { org.omg.CORBA.portable.OutputStream _out = _request("scrollableCursorRelative", true); org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.write(_out, arg0); _out.write_long(arg1); _in = _invoke(_out); org.eclipse.persistence.internal.sessions.remote.Transporter __result = org.eclipse.persistence.sessions.remote.corba.sun.TransporterHelper.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 scrollableCursorRelative(arg0, arg1); } finally { _releaseReply(_in); } } // scrollableCursorRelative
_os.write_long(callLegSessionID); org.csapi.cc.TpCallErrorHelper.write(_os,errorIndication); _is = _invoke(_os); catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id );