📄 clock_subject.java
字号:
/*
* Clock_Subject.java
*
* Created on 2007年10月31日, 下午3:32
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package clock;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
*
* @author xiaohai
*/
public interface Clock_Subject extends Remote{
void Attach(String ip,int time) throws RemoteException;
void Detach(String ip) throws RemoteException;
void Notify() throws RemoteException;
int GetHour() throws RemoteException;
int GetMinute() throws RemoteException;
int GetSecond() throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -