_xmlreceiverimplbase.java
来自「使用方法: 实例程序的运行: 每个实例下都有本实例的.xml文件或.htm」· Java 代码 · 共 80 行
JAVA
80 行
package org.xbeans.communication.corba;
/**
<p>
<ul>
<li> <b>Java Class</b> org.xbeans.communication.corba._XMLReceiverImplBase
<li> <b>Source File</b> org/xbeans/communication/corba/_XMLReceiverImplBase.java
<li> <b>IDL Source File</b> D://Documents//MageLang//Xbean//source//XMLReceiver.idl
<li> <b>IDL Absolute Name</b> ::org::xbeans::communication::corba::XMLReceiver
<li> <b>Repository Identifier</b> IDL:org/xbeans/communication/corba/XMLReceiver:1.0
</ul>
<b>IDL definition:</b>
<pre>
#pragma prefix "org/xbeans/communication/corba"
interface XMLReceiver {
void documentReady(
in ::org::xbeans::communication::corba::byteArray serializedDocument
)
raises(
::org::xbeans::communication::corba::RemoteReceiverException
);
};
</pre>
</p>
*/
abstract public class _XMLReceiverImplBase extends com.inprise.vbroker.CORBA.portable.Skeleton implements org.xbeans.communication.corba.XMLReceiver {
protected org.xbeans.communication.corba.XMLReceiver _wrapper = null;
public org.xbeans.communication.corba.XMLReceiver _this() {
return this;
}
protected _XMLReceiverImplBase(java.lang.String name) {
super(name);
}
public _XMLReceiverImplBase() {
}
public java.lang.String toString() {
try {
return super.toString();
} catch (org.omg.CORBA.SystemException ex) { // delegate may not be set yet
return "Unbound instance of org.xbeans.communication.corba.XMLReceiver";
}
}
public java.lang.String[] _ids() {
return __ids;
}
private static java.lang.String[] __ids = {
"IDL:org/xbeans/communication/corba/XMLReceiver:1.0"
};
public org.omg.CORBA.portable.MethodPointer[] _methods() {
org.omg.CORBA.portable.MethodPointer[] methods = {
new org.omg.CORBA.portable.MethodPointer("documentReady", 0, 0),
};
return methods;
}
public boolean _execute(org.omg.CORBA.portable.MethodPointer method, org.omg.CORBA.portable.InputStream input, org.omg.CORBA.portable.OutputStream output) {
switch(method.interface_id) {
case 0: {
return org.xbeans.communication.corba._XMLReceiverImplBase._execute(_this(), method.method_id, input, output);
}
}
throw new org.omg.CORBA.MARSHAL();
}
public static boolean _execute(org.xbeans.communication.corba.XMLReceiver _self, int _method_id, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.OutputStream _output) {
switch(_method_id) {
case 0: {
try {
byte[] serializedDocument;
serializedDocument = org.xbeans.communication.corba.byteArrayHelper.read(_input);
_self.documentReady(serializedDocument);
}
catch(org.xbeans.communication.corba.RemoteReceiverException _exception) {
org.xbeans.communication.corba.RemoteReceiverExceptionHelper.write(_output, _exception);
return true;
}
return false;
}
}
throw new org.omg.CORBA.MARSHAL();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?