public void value (org.omg.CORBA.Any newValue) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_value", true); $out.write_any (newValue); $in = _invoke ($out); return; } 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) { value (newValue ); } finally { _releaseReply ($in); } } // value
_os.write_any(element1); _os.write_any(element2); _is = _invoke(_os); boolean _result = _is.read_boolean(); String _id = _ax.getId(); try _ax.getInputStream().close(); throw new RuntimeException("Unexpected exception " + e.toString() ); _os.close(); throw new RuntimeException("Unexpected exception " + e.toString() );
_os.write_any(element1); _os.write_any(element2); _is = _invoke(_os); int _result = _is.read_long(); 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 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
_os.write_any(element1); _os.write_any(element2); _is = _invoke(_os); int _result = _is.read_long(); 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 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
_os.write_any(key1); _os.write_any(key2); _is = _invoke(_os); boolean _result = _is.read_boolean(); 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 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
_os.write_any(key1); _os.write_any(key2); _is = _invoke(_os); int _result = _is.read_long(); String _id = _ax.getId(); try _ax.getInputStream().close(); throw new RuntimeException("Unexpected exception " + e.toString() ); _os.close(); throw new RuntimeException("Unexpected exception " + e.toString() );
/** * Inserts an Any value into the Any represented by this DynAny. * * @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_any (org.omg.CORBA.Any 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_any", true); $out.write_any (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_any (value ); } finally { _releaseReply ($in); } } // insert_any
/** * Replaces the boxed value with the specified value. * If the DynBoxedValue represents a null valuetype, it is converted to a non-null value. * * @exception TypeMismatch if this object represents a non-null value box type and the type * of the parameter is not matching the current boxed value type. */ public void set_boxed_value (org.omg.CORBA.Any boxed) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("set_boxed_value", true); $out.write_any (boxed); $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 throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { set_boxed_value (boxed ); } finally { _releaseReply ($in); } } // set_boxed_value
/** * Inserts an Any value into the Any represented by this DynAny. * * @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_any (org.omg.CORBA.Any 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_any", true); $out.write_any (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_any (value ); } finally { _releaseReply ($in); } } // insert_any
try { org.omg.CORBA.portable.OutputStream $out = _request ("from_any", true); $out.write_any (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);
try { org.omg.CORBA.portable.OutputStream $out = _request ("from_any", true); $out.write_any (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);
public void audit_write (org.omg.Security.AuditEventType event_type, org.omg.SecurityLevel2.Credentials[] creds, org.omg.TimeBase.UtcT time, org.omg.Security.SelectorValue[] descriptors, org.omg.CORBA.Any event_specific_data) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("audit_write", true); org.omg.Security.AuditEventTypeHelper.write ($out, event_type); org.omg.SecurityLevel2.CredentialsListHelper.write ($out, creds); org.omg.Security.UtcTHelper.write ($out, time); org.omg.Security.SelectorValueListHelper.write ($out, descriptors); $out.write_any (event_specific_data); $in = _invoke ($out); return; } 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) { audit_write (event_type, creds, time, descriptors, event_specific_data ); } finally { _releaseReply ($in); } } // audit_write