📄 computeengine_stub.java
字号:
///////////////////////////////////////////////////////////
// DeJaved by mDeJava v1.0. Copyright 1999 MoleSoftware. //
// To download last version of this software: //
// http://molesoftware.hypermatr.net //
// e-mail:molesoftware@mail.ru //
///////////////////////////////////////////////////////////
import java.io.*;
import java.lang.reflect.Method;
import java.rmi.*;
import java.rmi.server.*;
public final class ComputeEngine_Stub extends RemoteStub
implements Compute, Remote
{
private static final Operation operations[] = {
new Operation("java.lang.Object executeTask(Task)")
};
private static final long interfaceHash = 0xa9d213d5242af144L;
private static final long serialVersionUID = 2L;
private static boolean useNewInvoke = false;
private static Method _fld$method_executeTask_0 = null;
static Class class$java$rmi$server$RemoteRef = null; /* synthetic field */
static Class class$java$rmi$Remote = null; /* synthetic field */
static Class class$java$lang$reflect$Method = null; /* synthetic field */
static Class array$Ljava$lang$Object = null; /* synthetic field */
static Class class$Compute = null; /* synthetic field */
static Class class$Task = null; /* synthetic field */
public ComputeEngine_Stub()
{
}
public ComputeEngine_Stub(RemoteRef remoteref)
{
super(remoteref);
}
static Class class$(String s)
{
try
{
return Class.forName(s);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new NoClassDefFoundError(classnotfoundexception.getMessage());
}
}
public Object executeTask(Task task)
throws RemoteException
{
try
{
if(useNewInvoke)
{
Object obj = ref.invoke(this, _fld$method_executeTask_0, new Object[] {
task
}, 0xd136fd88a03c91a7L);
return obj;
}
RemoteCall remotecall = ref.newCall(this, operations, 0, 0xa9d213d5242af144L);
try
{
ObjectOutput objectoutput = remotecall.getOutputStream();
objectoutput.writeObject(task);
}
catch(IOException ioexception)
{
throw new MarshalException("error marshalling arguments", ioexception);
}
ref.invoke(remotecall);
Object obj1;
try
{
ObjectInput objectinput = remotecall.getInputStream();
obj1 = objectinput.readObject();
}
catch(IOException ioexception1)
{
throw new UnmarshalException("error unmarshalling return", ioexception1);
}
catch(ClassNotFoundException classnotfoundexception)
{
throw new UnmarshalException("error unmarshalling return", classnotfoundexception);
}
finally
{
ref.done(remotecall);
}
return obj1;
}
catch(RuntimeException runtimeexception)
{
throw runtimeexception;
}
catch(RemoteException remoteexception)
{
throw remoteexception;
}
catch(Exception exception)
{
throw new UnexpectedException("undeclared checked exception", exception);
}
}
static
{
try
{
(class$java$rmi$server$RemoteRef == null ? (class$java$rmi$server$RemoteRef = class$("java.rmi.server.RemoteRef")) : class$java$rmi$server$RemoteRef).getMethod("invoke", new Class[] {
class$java$rmi$Remote == null ? (class$java$rmi$Remote = class$("java.rmi.Remote")) : class$java$rmi$Remote, class$java$lang$reflect$Method == null ? (class$java$lang$reflect$Method = class$("java.lang.reflect.Method")) : class$java$lang$reflect$Method, array$Ljava$lang$Object == null ? (array$Ljava$lang$Object = class$("[Ljava.lang.Object;")) : array$Ljava$lang$Object, Long.TYPE
});
useNewInvoke = true;
_fld$method_executeTask_0 = (class$Compute == null ? (class$Compute = class$("Compute")) : class$Compute).getMethod("executeTask", new Class[] {
class$Task == null ? (class$Task = class$("Task")) : class$Task
});
}
catch(NoSuchMethodException _ex)
{
useNewInvoke = false;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -