package CorbaSearchEng; /**
#pragma prefix "CorbaSearchEng" interface CorbaSearch { void setSearchword( in string searchword ); string doQuery( ) raises( ::CorbaSearchEng::QueryError ); long rowcount(); long columncount(); };*/ public class _st_CorbaSearch extends com.inprise.vbroker.CORBA.portable.ObjectImpl implements CorbaSearchEng.CorbaSearch { protected CorbaSearchEng.CorbaSearch _wrapper = null; public CorbaSearchEng.CorbaSearch _this() { return this; } public java.lang.String[] _ids() { return __ids; } private static java.lang.String[] __ids = { "IDL:CorbaSearchEng/CorbaSearch:1.0" }; /**
Operation: ::CorbaSearchEng::CorbaSearch::setSearchword.
#pragma prefix "CorbaSearchEng/CorbaSearch" void setSearchword( in string searchword );*/ public void setSearchword( java.lang.String searchword ) { org.omg.CORBA.portable.OutputStream _output; org.omg.CORBA.portable.InputStream _input; while(true) { _output = this._request("setSearchword", true); _output.write_string(searchword); try { _input = this._invoke(_output, null); } catch(org.omg.CORBA.TRANSIENT _exception) { continue; } break; } } /**
Operation: ::CorbaSearchEng::CorbaSearch::doQuery.
#pragma prefix "CorbaSearchEng/CorbaSearch" string doQuery( ) raises( ::CorbaSearchEng::QueryError );*/ public java.lang.String doQuery( ) throws CorbaSearchEng.QueryError { org.omg.CORBA.portable.OutputStream _output; org.omg.CORBA.portable.InputStream _input; java.lang.String _result; while(true) { _output = this._request("doQuery", true); org.omg.CORBA.StringHolder _exception_id = new org.omg.CORBA.StringHolder(); try { _input = this._invoke(_output, _exception_id); if(_exception_id.value != null) { if(_exception_id.value.equals(CorbaSearchEng.QueryErrorHelper.id())) { throw CorbaSearchEng.QueryErrorHelper.read(_input); } throw new org.omg.CORBA.MARSHAL ("Unexpected User Exception: " + _exception_id.value); } _result = _input.read_string(); } catch(org.omg.CORBA.TRANSIENT _exception) { continue; } break; } return _result; } /**
Operation: ::CorbaSearchEng::CorbaSearch::rowcount.
#pragma prefix "CorbaSearchEng/CorbaSearch" long rowcount();*/ public int rowcount() { org.omg.CORBA.portable.OutputStream _output; org.omg.CORBA.portable.InputStream _input; int _result; while(true) { _output = this._request("rowcount", true); try { _input = this._invoke(_output, null); _result = _input.read_long(); } catch(org.omg.CORBA.TRANSIENT _exception) { continue; } break; } return _result; } /**
Operation: ::CorbaSearchEng::CorbaSearch::columncount.
#pragma prefix "CorbaSearchEng/CorbaSearch" long columncount();*/ public int columncount() { org.omg.CORBA.portable.OutputStream _output; org.omg.CORBA.portable.InputStream _input; int _result; while(true) { _output = this._request("columncount", true); try { _input = this._invoke(_output, null); _result = _input.read_long(); } catch(org.omg.CORBA.TRANSIENT _exception) { continue; } break; } return _result; } }