public org.omg.CORBA.NativeDef create_native (String id, String name, String version)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_native", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, id);
org.omg.CORBA.IdentifierHelper.write ($out, name);
org.omg.CORBA.VersionSpecHelper.write ($out, version);
$in = _invoke ($out);
org.omg.CORBA.NativeDef $result = org.omg.CORBA.NativeDefHelper.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 create_native (id, name, version );
} finally {
_releaseReply ($in);
}
}