📄 _dli2feintfstub.java
字号:
package dli2fe.CORBA;
/**
* <ul>
* <li> <b>IDL Source</b> "DLI2FECore.idl"
* <li> <b>IDL Name</b> ::dli2fe::CORBA::DLI2FEIntf
* <li> <b>Repository Id</b> IDL:dli2fe/CORBA/DLI2FEIntf:1.0
* </ul>
* <b>IDL definition:</b>
* <pre>
* interface DLI2FEIntf {
...
};
* </pre>
*/
public class _DLI2FEIntfStub extends com.inprise.vbroker.CORBA.portable.ObjectImpl implements DLI2FEIntf {
final public static java.lang.Class _opsClass = dli2fe.CORBA.DLI2FEIntfOperations.class;
public java.lang.String[] _ids () {
return __ids;
}
private static java.lang.String[] __ids = {
"IDL:dli2fe/CORBA/DLI2FEIntf:1.0"
};
/**
* <pre>
* void getSiteMetadata (out dli2fe.CORBA.XMLObject theSiteMetadata)
raises (dli2fe.CORBA.DLI2FEException);
* </pre>
*/
public void getSiteMetadata (org.omg.CORBA.StringHolder theSiteMetadata) throws dli2fe.CORBA.DLI2FEException {
while (true) {
if (!_is_local()) {
org.omg.CORBA.portable.OutputStream _output = null;
org.omg.CORBA.portable.InputStream _input = null;
try {
_output = this._request("getSiteMetadata", true);
_input = this._invoke(_output);
theSiteMetadata.value = _input.read_wstring();
}
catch (org.omg.CORBA.portable.ApplicationException _exception) {
final org.omg.CORBA.portable.InputStream in = _exception.getInputStream();
java.lang.String _exception_id = _exception.getId();
if (_exception_id.equals(dli2fe.CORBA.DLI2FEExceptionHelper.id())) {
throw dli2fe.CORBA.DLI2FEExceptionHelper.read(_exception.getInputStream());
}
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _exception_id);
}
catch (org.omg.CORBA.portable.RemarshalException _exception) {
continue;
}
finally {
this._releaseReply(_input);
}
} else {
final org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke("getSiteMetadata", _opsClass);
if (_so == null) {
continue;
}
final dli2fe.CORBA.DLI2FEIntfOperations _self = (dli2fe.CORBA.DLI2FEIntfOperations)_so.servant;
try {
_self.getSiteMetadata(theSiteMetadata);
}
finally {
_servant_postinvoke(_so);
}
}
break;
}
}
/**
* <pre>
* void getAttributeInfo (in string ctgrName,
out dli2fe.CORBA.XMLObject attributeInfo)
raises (dli2fe.CORBA.DLI2FEException);
* </pre>
*/
public void getAttributeInfo (java.lang.String ctgrName,
org.omg.CORBA.StringHolder attributeInfo) throws dli2fe.CORBA.DLI2FEException {
while (true) {
if (!_is_local()) {
org.omg.CORBA.portable.OutputStream _output = null;
org.omg.CORBA.portable.InputStream _input = null;
try {
_output = this._request("getAttributeInfo", true);
_output.write_string((java.lang.String)ctgrName);
_input = this._invoke(_output);
attributeInfo.value = _input.read_wstring();
}
catch (org.omg.CORBA.portable.ApplicationException _exception) {
final org.omg.CORBA.portable.InputStream in = _exception.getInputStream();
java.lang.String _exception_id = _exception.getId();
if (_exception_id.equals(dli2fe.CORBA.DLI2FEExceptionHelper.id())) {
throw dli2fe.CORBA.DLI2FEExceptionHelper.read(_exception.getInputStream());
}
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _exception_id);
}
catch (org.omg.CORBA.portable.RemarshalException _exception) {
continue;
}
finally {
this._releaseReply(_input);
}
} else {
final org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke("getAttributeInfo", _opsClass);
if (_so == null) {
continue;
}
final dli2fe.CORBA.DLI2FEIntfOperations _self = (dli2fe.CORBA.DLI2FEIntfOperations)_so.servant;
try {
_self.getAttributeInfo(ctgrName, attributeInfo);
}
finally {
_servant_postinvoke(_so);
}
}
break;
}
}
/**
* <pre>
* void search (in long clientSID, in dli2fe.CORBA.XMLObject subcols,
in dli2fe.CORBA.XMLObject query, in long numDocs,
in dli2fe.CORBA.XMLObject docPropList,
in dli2fe.CORBA.XMLObject queryOptions, out long expectedTotal,
out long serverSID, out dli2fe.CORBA.XMLObject result)
raises (dli2fe.CORBA.DLI2FEException);
* </pre>
*/
public void search (int clientSID,
java.lang.String subcols,
java.lang.String query,
int numDocs,
java.lang.String docPropList,
java.lang.String queryOptions,
org.omg.CORBA.IntHolder expectedTotal,
org.omg.CORBA.IntHolder serverSID,
org.omg.CORBA.StringHolder result) throws dli2fe.CORBA.DLI2FEException {
while (true) {
if (!_is_local()) {
org.omg.CORBA.portable.OutputStream _output = null;
org.omg.CORBA.portable.InputStream _input = null;
try {
_output = this._request("search", true);
_output.write_long((int)clientSID);
_output.write_wstring((java.lang.String)subcols);
_output.write_wstring((java.lang.String)query);
_output.write_long((int)numDocs);
_output.write_wstring((java.lang.String)docPropList);
_output.write_wstring((java.lang.String)queryOptions);
_input = this._invoke(_output);
expectedTotal.value = _input.read_long();
serverSID.value = _input.read_long();
result.value = _input.read_wstring();
}
catch (org.omg.CORBA.portable.ApplicationException _exception) {
final org.omg.CORBA.portable.InputStream in = _exception.getInputStream();
java.lang.String _exception_id = _exception.getId();
if (_exception_id.equals(dli2fe.CORBA.DLI2FEExceptionHelper.id())) {
throw dli2fe.CORBA.DLI2FEExceptionHelper.read(_exception.getInputStream());
}
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _exception_id);
}
catch (org.omg.CORBA.portable.RemarshalException _exception) {
continue;
}
finally {
this._releaseReply(_input);
}
} else {
final org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke("search", _opsClass);
if (_so == null) {
continue;
}
final dli2fe.CORBA.DLI2FEIntfOperations _self = (dli2fe.CORBA.DLI2FEIntfOperations)_so.servant;
try {
_self.search(clientSID, subcols, query, numDocs, docPropList, queryOptions,
expectedTotal, serverSID, result);
}
finally {
_servant_postinvoke(_so);
}
}
break;
}
}
/**
* <pre>
* void getSessionInfo (in long serverSID, out long expectedTotal,
out long stateTimeout)
raises (dli2fe.CORBA.DLI2FEException);
* </pre>
*/
public void getSessionInfo (int serverSID,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -