client.java

来自「Java the UML Way 书中所有源码」· Java 代码 · 共 16 行

JAVA
16 行
字号
/*
 * Client.java, E.L. 2001-08-25
 *
 * Here is the interface of the client object. The counter addresses its request to such
 * objects, when all clients are to be alerted about changes in the number of votes.
 */

import java.rmi.*;
import java.rmi.server.*;

public interface Client extends Remote {
  String getName() throws RemoteException;
  void printStatus(String status) throws RemoteException;
}

⌨️ 快捷键说明

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