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

📄 chatclientapplet_stub.java

📁 这个工程里包括了Java Applet客户端和J Frame客户端的RMI聊天室的程序。
💻 JAVA
字号:
// Stub class generated by rmic, do not edit.
// Contents subject to change without notice.

package chatrmi0;

public final class ChatClientApplet_Stub
    extends java.rmi.server.RemoteStub
    implements chatrmi0.IChatClient
{
    private static final long serialVersionUID = 2;
    
    private static java.lang.reflect.Method $method_getName_0;
    private static java.lang.reflect.Method $method_sendMessage_1;
    
    static {
	try {
	    $method_getName_0 = chatrmi0.IChatClient.class.getMethod("getName", new java.lang.Class[] {});
	    $method_sendMessage_1 = chatrmi0.IChatClient.class.getMethod("sendMessage", new java.lang.Class[] {java.lang.String.class});
	} catch (java.lang.NoSuchMethodException e) {
	    throw new java.lang.NoSuchMethodError(
		"stub class initialization failed");
	}
    }
    
    // constructors
    public ChatClientApplet_Stub(java.rmi.server.RemoteRef ref) {
	super(ref);
    }
    
    // methods from remote interfaces
    
    // implementation of getName()
    public java.lang.String getName()
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_getName_0, null, 6317137956467216454L);
	    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 sendMessage(String)
    public void sendMessage(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    ref.invoke(this, $method_sendMessage_1, new java.lang.Object[] {$param_String_1}, -4245573194930925292L);
	} 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 + -