⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _servicesstub.java

📁 直接放在eclipse环境下
💻 JAVA
字号:
package org.objectweb.ccm.demo3;

/**
 *	Generated from IDL definition of interface "Services"
 *	@author JacORB IDL compiler 
 */
public class _ServicesStub
	extends org.omg.CORBA.portable.ObjectImpl
	implements org.objectweb.ccm.demo3.Services
{
	private String[] ids = {"IDL:ccm.objectweb.org/demo3/Services:1.0"};
	public String[] _ids()
	{
		return ids;
	}
	public final static java.lang.Class _opsClass = org.objectweb.ccm.demo3.ServicesOperations.class;
	public void display(java.lang.String text)	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "display", true);
				_os.write_string(text);
				_is = _invoke(_os);
				return;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "display", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			ServicesOperations _localServant = (ServicesOperations)_so.servant;
			try
			{
			_localServant.display(text);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return;
		}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -