serverinterface.java
来自「用java实现的投票系统」· Java 代码 · 共 13 行
JAVA
13 行
import java.rmi.*;
public interface Serverinterface extends Remote {
// the server puts the remote methods into the interface for the clients to invoke
public void update(String m) throws java.rmi.RemoteException;
public void addCallback(Callbackinterface CallbackObject)
throws java.rmi.RemoteException;
//the method is used to record the clients.
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?