All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.omg.CORBA._ValueMemberDefStub Maven / Gradle / Ivy
package org.omg.CORBA;
/**
* org/omg/CORBA/_ValueMemberDefStub.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/ir.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
// orbos 98-01-18: Objects By Value -- begin
public class _ValueMemberDefStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.CORBA.ValueMemberDef
{
public org.omg.CORBA.TypeCode type ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_type", true);
$in = _invoke ($out);
org.omg.CORBA.TypeCode $result = $in.read_TypeCode ();
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 ( );
} finally {
_releaseReply ($in);
}
} // type
public org.omg.CORBA.IDLType type_def ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_type_def", true);
$in = _invoke ($out);
org.omg.CORBA.IDLType $result = org.omg.CORBA.IDLTypeHelper.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 type_def ( );
} finally {
_releaseReply ($in);
}
} // type_def
public void type_def (org.omg.CORBA.IDLType newType_def)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_type_def", true);
org.omg.CORBA.IDLTypeHelper.write ($out, newType_def);
$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) {
type_def (newType_def );
} finally {
_releaseReply ($in);
}
} // type_def
public short access ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_access", true);
$in = _invoke ($out);
short $result = org.omg.CORBA.VisibilityHelper.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 access ( );
} finally {
_releaseReply ($in);
}
} // access
public void access (short newAccess)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_access", true);
org.omg.CORBA.VisibilityHelper.write ($out, newAccess);
$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) {
access (newAccess );
} finally {
_releaseReply ($in);
}
} // access
// read/write interface
public String id ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_id", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.RepositoryIdHelper.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 id ( );
} finally {
_releaseReply ($in);
}
} // id
// read/write interface
public void id (String newId)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_id", true);
org.omg.CORBA.RepositoryIdHelper.write ($out, newId);
$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) {
id (newId );
} finally {
_releaseReply ($in);
}
} // id
public String name ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_name", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.IdentifierHelper.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 name ( );
} finally {
_releaseReply ($in);
}
} // name
public void name (String newName)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_name", true);
org.omg.CORBA.IdentifierHelper.write ($out, newName);
$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) {
name (newName );
} finally {
_releaseReply ($in);
}
} // name
public String version ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_version", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.VersionSpecHelper.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 version ( );
} finally {
_releaseReply ($in);
}
} // version
public void version (String newVersion)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_version", true);
org.omg.CORBA.VersionSpecHelper.write ($out, newVersion);
$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) {
version (newVersion );
} finally {
_releaseReply ($in);
}
} // version
// read interface
public org.omg.CORBA.Container defined_in ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_defined_in", true);
$in = _invoke ($out);
org.omg.CORBA.Container $result = org.omg.CORBA.ContainerHelper.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 defined_in ( );
} finally {
_releaseReply ($in);
}
} // defined_in
public String absolute_name ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_absolute_name", true);
$in = _invoke ($out);
String $result = org.omg.CORBA.ScopedNameHelper.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 absolute_name ( );
} finally {
_releaseReply ($in);
}
} // absolute_name
public org.omg.CORBA.Repository containing_repository ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_containing_repository", true);
$in = _invoke ($out);
org.omg.CORBA.Repository $result = org.omg.CORBA.RepositoryHelper.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 containing_repository ( );
} finally {
_releaseReply ($in);
}
} // containing_repository
public org.omg.CORBA.ContainedPackage.Description describe ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("describe", true);
$in = _invoke ($out);
org.omg.CORBA.ContainedPackage.Description $result = org.omg.CORBA.ContainedPackage.DescriptionHelper.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 describe ( );
} finally {
_releaseReply ($in);
}
} // describe
// write interface
public void move (org.omg.CORBA.Container new_container, String new_name, String new_version)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("move", true);
org.omg.CORBA.ContainerHelper.write ($out, new_container);
org.omg.CORBA.IdentifierHelper.write ($out, new_name);
org.omg.CORBA.VersionSpecHelper.write ($out, new_version);
$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) {
move (new_container, new_name, new_version );
} finally {
_releaseReply ($in);
}
} // move
// read interface
public org.omg.CORBA.DefinitionKind def_kind ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_def_kind", true);
$in = _invoke ($out);
org.omg.CORBA.DefinitionKind $result = org.omg.CORBA.DefinitionKindHelper.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 def_kind ( );
} finally {
_releaseReply ($in);
}
} // def_kind
// write interface
public void destroy ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true);
$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) {
destroy ( );
} finally {
_releaseReply ($in);
}
} // destroy
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:omg.org/CORBA/ValueMemberDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:CORBA/IRObject:1.0"};
public String[] _ids ()
{
return (String[])__ids.clone ();
}
private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
String str = s.readUTF ();
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
org.omg.CORBA.Object obj = orb.string_to_object (str);
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
_set_delegate (delegate);
} finally {
orb.destroy() ;
}
}
private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
{
String[] args = null;
java.util.Properties props = null;
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);
try {
String str = orb.object_to_string (this);
s.writeUTF (str);
} finally {
orb.destroy() ;
}
}
} // class _ValueMemberDefStub