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

📄 _blastercallbackstub.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
package org.xmlBlaster.protocol.corba.clientIdl;/** *	Generated from IDL interface "BlasterCallback" *	@author JacORB IDL compiler V 2.1, 16-Feb-2004 */public class _BlasterCallbackStub	extends org.omg.CORBA.portable.ObjectImpl	implements org.xmlBlaster.protocol.corba.clientIdl.BlasterCallback{	private String[] ids = {"IDL:org.xmlBlaster.protocol.corba/clientIdl/BlasterCallback:1.0"};	public String[] _ids()	{		return ids;	}	public final static java.lang.Class _opsClass = org.xmlBlaster.protocol.corba.clientIdl.BlasterCallbackOperations.class;	public java.lang.String ping(java.lang.String qos)	{		while(true)		{		if(! this._is_local())		{			org.omg.CORBA.portable.InputStream _is = null;			try			{				org.omg.CORBA.portable.OutputStream _os = _request( "ping", true);				_os.write_string(qos);				_is = _invoke(_os);				java.lang.String _result = _is.read_string();				return _result;			}			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( "ping", _opsClass );			if( _so == null )				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");			BlasterCallbackOperations _localServant = (BlasterCallbackOperations)_so.servant;			java.lang.String _result;			try			{			_result = _localServant.ping(qos);			}			finally			{				_servant_postinvoke(_so);			}			return _result;		}		}	}	public void updateOneway(java.lang.String sessionId, org.xmlBlaster.protocol.corba.serverIdl.MessageUnit[] msgUnitArr)	{		while(true)		{		if(! this._is_local())		{			org.omg.CORBA.portable.InputStream _is = null;			try			{				org.omg.CORBA.portable.OutputStream _os = _request( "updateOneway", false);				_os.write_string(sessionId);				org.xmlBlaster.protocol.corba.serverIdl.MessageUnitArrHelper.write(_os,msgUnitArr);				_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( "updateOneway", _opsClass );			if( _so == null )				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");			BlasterCallbackOperations _localServant = (BlasterCallbackOperations)_so.servant;			try			{			_localServant.updateOneway(sessionId,msgUnitArr);			}			finally			{				_servant_postinvoke(_so);			}			return;		}		}	}	public java.lang.String[] update(java.lang.String sessionId, org.xmlBlaster.protocol.corba.serverIdl.MessageUnit[] msgUnitArr) throws org.xmlBlaster.protocol.corba.serverIdl.XmlBlasterException	{		while(true)		{		if(! this._is_local())		{			org.omg.CORBA.portable.InputStream _is = null;			try			{				org.omg.CORBA.portable.OutputStream _os = _request( "update", true);				_os.write_string(sessionId);				org.xmlBlaster.protocol.corba.serverIdl.MessageUnitArrHelper.write(_os,msgUnitArr);				_is = _invoke(_os);				java.lang.String[] _result = org.xmlBlaster.protocol.corba.serverIdl.XmlTypeArrHelper.read(_is);				return _result;			}			catch( org.omg.CORBA.portable.RemarshalException _rx ){}			catch( org.omg.CORBA.portable.ApplicationException _ax )			{				String _id = _ax.getId();				if( _id.equals("IDL:org.xmlBlaster.protocol.corba/serverIdl/XmlBlasterException:1.0"))				{					throw org.xmlBlaster.protocol.corba.serverIdl.XmlBlasterExceptionHelper.read(_ax.getInputStream());				}				else 					throw new RuntimeException("Unexpected exception " + _id );			}			finally			{				this._releaseReply(_is);			}		}		else		{			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "update", _opsClass );			if( _so == null )				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");			BlasterCallbackOperations _localServant = (BlasterCallbackOperations)_so.servant;			java.lang.String[] _result;			try			{			_result = _localServant.update(sessionId,msgUnitArr);			}			finally			{				_servant_postinvoke(_so);			}			return _result;		}		}	}}

⌨️ 快捷键说明

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