public static org.omg.CosTrading.RegisterPackage.InterfaceTypeMismatch read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); java.lang.String x0; x0=in.read_string(); org.omg.CORBA.Object x1; x1=in.read_Object(); final org.omg.CosTrading.RegisterPackage.InterfaceTypeMismatch result = new org.omg.CosTrading.RegisterPackage.InterfaceTypeMismatch(id, x0, x1); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTrading.RegisterPackage.InterfaceTypeMismatch s)
public void read(org.omg.CORBA.portable.InputStream istream) { super.read(istream); this.service_contexts = new ServiceContexts((org.omg.CORBA_2_3.portable.InputStream) istream); this.request_id = istream.read_ulong(); this.response_expected = istream.read_boolean(); int _len0 = istream.read_long(); this.object_key = new byte[_len0]; istream.read_octet_array(this.object_key, 0, _len0); this.operation = istream.read_string(); this.requesting_principal = istream.read_Principal(); }
public static org.omg.TimeBase.UtcT read (final org.omg.CORBA.portable.InputStream in) { org.omg.TimeBase.UtcT result = new org.omg.TimeBase.UtcT(); result.time=in.read_ulonglong(); result.inacclo=in.read_ulong(); result.inacchi=in.read_ushort(); result.tdf=in.read_short(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.TimeBase.UtcT s)
@Override public java.io.Serializable read_value(org.omg.CORBA.portable.InputStream istream) { byte[] tmp; int _len0 = istream.read_long(); tmp = new byte[_len0]; istream.read_octet_array(tmp, 0, _len0); return tmp; }
public void _read(org.omg.CORBA.portable.InputStream in) { is_system_exception = in.read_boolean(); byte_order = in.read_boolean(); int len0 = in.read_ulong(); marshaled_exception = new byte[len0]; in.read_octet_array(marshaled_exception, 0, len0); }
public static org.omg.CORBA.Any[] read(org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.Any[] _ob_v; int len0 = in.read_ulong(); _ob_v = new org.omg.CORBA.Any[len0]; for(int i0 = 0; i0 < len0; i0++) _ob_v[i0] = in.read_any(); return _ob_v; }
_os.write_string(name); _os.write_long(rmid); _os.write_ulong(flags); _is = _invoke(_os); int _result = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); XASwitchOperations _localServant = (XASwitchOperations)_so.servant; int _result;
public boolean refresh (org.omg.CORBA.Any refresh_data) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("refresh", true); $out.write_any (refresh_data); $in = _invoke ($out); boolean $result = $in.read_boolean (); 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 refresh (refresh_data ); } finally { _releaseReply ($in); } } // refresh
public int xa_close (String name, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_close", true); $out.write_string (name); $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_close (name, rmid, flags ); } finally { _releaseReply ($in); } } // xa_close
org.omg.CosTransactions.CoordinatorHelper.write(_os,tc); _is = _invoke(_os); boolean _result = _is.read_boolean(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); CoordinatorOperations _localServant = (CoordinatorOperations)_so.servant; boolean _result;
public String sendClass(String model) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request("sendClass", true); $out.write_string(model); $in = _invoke($out); String $result = $in.read_string(); 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 sendClass(model); } finally { _releaseReply($in); } } // sendClass
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // register_before_completion_callback { org.omg.XA.BeforeCompletionCallback _arg0=org.omg.XA.BeforeCompletionCallbackHelper.read(_input); _out = handler.createReply(); _out.write_ulong(register_before_completion_callback(_arg0)); break; } case 1: // unregister_before_completion_callback { int _arg0=_input.read_ulong(); _out = handler.createReply(); unregister_before_completion_callback(_arg0); break; } } return _out; }
public static BAD_TYPECODE read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); BAD_TYPECODE val = new BAD_TYPECODE(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; }
public static UNKNOWN read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); UNKNOWN val = new UNKNOWN(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; }
public long dateConnexion () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("dateConnexion", true); $in = _invoke ($out); long $result = $in.read_longlong (); 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 dateConnexion ( ); } finally { _releaseReply ($in); } } // dateConnexion
public static org.omg.CORBA.UnknownUserException read (final org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id); org.omg.CORBA.Any x0; x0=in.read_any(); final org.omg.CORBA.UnknownUserException result = new org.omg.CORBA.UnknownUserException(id, x0); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.UnknownUserException s)
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // systemDateTimeQuery { java.lang.String _arg0=_input.read_string(); _out = handler.createReply(); _out.write_string(systemDateTimeQuery(_arg0)); break; } } return _out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // set_trigger_value { boolean _arg0=_input.read_boolean(); _out = handler.createReply(); set_trigger_value(_arg0); break; } case 1: // get_trigger_value { _out = handler.createReply(); _out.write_boolean(get_trigger_value()); break; } } return _out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // compare { org.omg.CORBA.Any _arg0=_input.read_any(); org.omg.CORBA.Any _arg1=_input.read_any(); _out = handler.createReply(); _out.write_long(compare(_arg0,_arg1)); break; } } return _out; }
public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) throws org.omg.CORBA.SystemException { org.omg.CORBA.portable.OutputStream _out = null; // do something // quick lookup of operation java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); if ( null == opsIndex ) throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); switch ( opsIndex.intValue() ) { case 0: // next_n { int _arg0=_input.read_ulong(); org.jacorb.tao_imr.ImplementationRepository.ServerInformationListHolder _arg1= new org.jacorb.tao_imr.ImplementationRepository.ServerInformationListHolder(); _out = handler.createReply(); _out.write_boolean(next_n(_arg0,_arg1)); org.jacorb.tao_imr.ImplementationRepository.ServerInformationListHelper.write(_out,_arg1.value); break; } case 1: // destroy { _out = handler.createReply(); destroy(); break; } } return _out; }