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

📄 eboard.java

📁 远程网络画板,用JAVA RMI实现,远程的多个用户可以同时在同一画板上绘画
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -