eboard.java

来自「远程网络画板,用JAVA RMI实现,远程的多个用户可以同时在同一画板上绘画」· Java 代码 · 共 25 行

JAVA
25
字号
package whiteboard;
import java.rmi.*;
import java.util.Vector;

public interface eboard extends Remote 
{
  	void add(drawings g) throws RemoteException;
	void load(Vector all) throws RemoteException;
	void newFile() throws RemoteException;


        void notifyit(int id) throws RemoteException;
       // void addEraser(drawings g) throws RemoteException;
    Vector getall() throws RemoteException;
	void notifyitwarning(int id, String message) throws RemoteException;
	void notifyallwarning(String message) throws RemoteException;


   // Vector getEraser() throws RemoteException;
    boolean getConnectStatus(int id) throws RemoteException;
    int regist(CallBack callback,String name) throws RemoteException;
    void deregist(int callbackid) throws RemoteException;
    void clear() throws RemoteException;
}

⌨️ 快捷键说明

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