📄 chatclientapplet_stub.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 + -