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

📄 frameworkimpl_stub.java

📁 一个java RMI 调用的FrameWork, 由IBM提供
💻 JAVA
字号:
// Stub class generated by rmic, do not edit.
// Contents subject to change without notice.

public final class FrameWorkImpl_Stub
    extends java.rmi.server.RemoteStub
    implements FrameWorkInterface, java.rmi.Remote
{
    private static final long serialVersionUID = 2;
    
    private static java.lang.reflect.Method $method_asyncRequest_0;
    private static java.lang.reflect.Method $method_fetchThreads_1;
    private static java.lang.reflect.Method $method_shutRequest_2;
    private static java.lang.reflect.Method $method_syncRequest_3;
    
    static {
	try {
	    $method_asyncRequest_0 = FrameWorkInterface.class.getMethod("asyncRequest", new java.lang.Class[] {FrameWorkParm.class});
	    $method_fetchThreads_1 = FrameWorkInterface.class.getMethod("fetchThreads", new java.lang.Class[] {java.lang.String.class});
	    $method_shutRequest_2 = FrameWorkInterface.class.getMethod("shutRequest", new java.lang.Class[] {});
	    $method_syncRequest_3 = FrameWorkInterface.class.getMethod("syncRequest", new java.lang.Class[] {FrameWorkParm.class});
	} catch (java.lang.NoSuchMethodException e) {
	    throw new java.lang.NoSuchMethodError(
		"stub class initialization failed");
	}
    }
    
    // constructors
    public FrameWorkImpl_Stub(java.rmi.server.RemoteRef ref) {
	super(ref);
    }
    
    // methods from remote interfaces
    
    // implementation of asyncRequest(FrameWorkParm)
    public java.lang.Object[] asyncRequest(FrameWorkParm $param_FrameWorkParm_1)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_asyncRequest_0, new java.lang.Object[] {$param_FrameWorkParm_1}, -2422050597357268181L);
	    return ((java.lang.Object[]) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of fetchThreads(String)
    public java.lang.String[] fetchThreads(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_fetchThreads_1, new java.lang.Object[] {$param_String_1}, 8585227274771588210L);
	    return ((java.lang.String[]) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of shutRequest()
    public java.lang.String shutRequest()
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_shutRequest_2, null, -5010161552643161364L);
	    return ((java.lang.String) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of syncRequest(FrameWorkParm)
    public java.lang.Object[] syncRequest(FrameWorkParm $param_FrameWorkParm_1)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_syncRequest_3, new java.lang.Object[] {$param_FrameWorkParm_1}, -2009629578782801543L);
	    return ((java.lang.Object[]) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
}

⌨️ 快捷键说明

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