package com.vci.corba.omd;
|
|
|
/**
|
* Generated from IDL interface "OMDService".
|
*
|
* @author JacORB IDL compiler V 3.9
|
* @version generated at 2022-12-23 15:42:24
|
*/
|
|
public class _OMDServiceStub
|
extends org.omg.CORBA.portable.ObjectImpl
|
implements com.vci.corba.omd.OMDService
|
{
|
/** Serial version UID. */
|
private static final long serialVersionUID = 1L;
|
private String[] ids = {"IDL:com/vci/corba/omd/OMDService:1.0"};
|
public String[] _ids()
|
{
|
return ids;
|
}
|
|
public final static java.lang.Class _opsClass = com.vci.corba.omd.OMDServiceOperations.class;
|
public com.vci.corba.omd.enumManager.EnumService getEnumService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getEnumService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.enumManager.EnumService _result = com.vci.corba.omd.enumManager.EnumServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getEnumService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.enumManager.EnumService _result;
|
try
|
{
|
_result = _localServant.getEnumService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.statePoolManager.StatePoolService getStateService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getStateService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.statePoolManager.StatePoolService _result = com.vci.corba.omd.statePoolManager.StatePoolServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getStateService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.statePoolManager.StatePoolService _result;
|
try
|
{
|
_result = _localServant.getStateService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.btm.BTMService getBTMService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getBTMService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.btm.BTMService _result = com.vci.corba.omd.btm.BTMServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getBTMService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.btm.BTMService _result;
|
try
|
{
|
_result = _localServant.getBTMService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.ddl.DDLService getDDLService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getDDLService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.ddl.DDLService _result = com.vci.corba.omd.ddl.DDLServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getDDLService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.ddl.DDLService _result;
|
try
|
{
|
_result = _localServant.getDDLService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.attribpool.AttPoolService getAttributeService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getAttributeService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.attribpool.AttPoolService _result = com.vci.corba.omd.attribpool.AttPoolServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getAttributeService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.attribpool.AttPoolService _result;
|
try
|
{
|
_result = _localServant.getAttributeService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.lifecycleManager.LifeCycleService getLifeCycleService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getLifeCycleService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.lifecycleManager.LifeCycleService _result = com.vci.corba.omd.lifecycleManager.LifeCycleServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLifeCycleService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.lifecycleManager.LifeCycleService _result;
|
try
|
{
|
_result = _localServant.getLifeCycleService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.versionRuleManager.VersionRuleService getVerRuleService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getVerRuleService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.versionRuleManager.VersionRuleService _result = com.vci.corba.omd.versionRuleManager.VersionRuleServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getVerRuleService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.versionRuleManager.VersionRuleService _result;
|
try
|
{
|
_result = _localServant.getVerRuleService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.linkTypeManager.LinkTypeService getLinkTypeService() throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getLinkTypeService", true);
|
_is = _invoke(_os);
|
com.vci.corba.omd.linkTypeManager.LinkTypeService _result = com.vci.corba.omd.linkTypeManager.LinkTypeServiceHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getLinkTypeService", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.linkTypeManager.LinkTypeService _result;
|
try
|
{
|
_result = _localServant.getLinkTypeService();
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
public com.vci.corba.omd.data.SystemModelData getSysModelData(java.lang.String[] boTypes) throws com.vci.corba.common.VCIError
|
{
|
while(true)
|
{
|
if(! this._is_local())
|
{
|
org.omg.CORBA.portable.InputStream _is = null;
|
org.omg.CORBA.portable.OutputStream _os = null;
|
try
|
{
|
_os = _request( "getSysModelData", true);
|
com.vci.corba.common.data.WStringArrayHelper.write(_os,boTypes);
|
_is = _invoke(_os);
|
com.vci.corba.omd.data.SystemModelData _result = com.vci.corba.omd.data.SystemModelDataHelper.read(_is);
|
return _result;
|
}
|
catch( org.omg.CORBA.portable.RemarshalException _rx )
|
{
|
continue;
|
}
|
catch( org.omg.CORBA.portable.ApplicationException _ax )
|
{
|
String _id = _ax.getId();
|
try
|
{
|
if( _id.equals("IDL:com/vci/corba/common/VCIError:1.0"))
|
{
|
throw com.vci.corba.common.VCIErrorHelper.read(_ax.getInputStream());
|
}
|
else
|
{
|
throw new RuntimeException("Unexpected exception " + _id );
|
}
|
}
|
finally
|
{
|
try
|
{
|
_ax.getInputStream().close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
}
|
finally
|
{
|
if (_os != null)
|
{
|
try
|
{
|
_os.close();
|
}
|
catch (java.io.IOException e)
|
{
|
throw new RuntimeException("Unexpected exception " + e.toString() );
|
}
|
}
|
this._releaseReply(_is);
|
}
|
}
|
else
|
{
|
org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "getSysModelData", _opsClass );
|
if( _so == null )
|
continue;
|
OMDServiceOperations _localServant = (OMDServiceOperations)_so.servant;
|
com.vci.corba.omd.data.SystemModelData _result;
|
try
|
{
|
_result = _localServant.getSysModelData(boTypes);
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).normalCompletion();
|
return _result;
|
}
|
catch (com.vci.corba.common.VCIError ex)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(ex);
|
throw ex;
|
}
|
catch (RuntimeException re)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(re);
|
throw re;
|
}
|
catch (java.lang.Error err)
|
{
|
if ( _so instanceof org.omg.CORBA.portable.ServantObjectExt)
|
((org.omg.CORBA.portable.ServantObjectExt)_so).exceptionalCompletion(err);
|
throw err;
|
}
|
finally
|
{
|
_servant_postinvoke(_so);
|
}
|
}
|
|
}
|
|
}
|
|
}
|