studentinfo.java
来自「基于RMI的学生成绩管理程序,实现了线程,事件模型.」· Java 代码 · 共 26 行
JAVA
26 行
/*
* Studentinfo.java
*
* Created on 2005年11月23日, 下午1:41
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
/**
*
* @author 和尚
*/
import java.rmi.*;
public interface Studentinfo extends Remote {
public int logon( String username, String password) throws RemoteException;
public void logoff() throws RemoteException;
//public void studentscore(String studentname,String course,int mark) throws RemoteException;
public int lookup(String studentname,String course) throws RemoteException;
//public void add(ScoreEvent anEvent) throws RemoteException;
//public void addScoreListener(ScoreListener aListener) throws RemoteException;
//public void removeScorenListener(ScoreListener aListener)throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?