serverface.java
来自「一个实现网络会议的软件.包含三个包.其中一个包需JMF的支持.」· Java 代码 · 共 47 行
JAVA
47 行
package serverPackage;
import java.net.InetAddress;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Hashtable;
import java.util.Vector;
public interface ServerFace extends Remote {
public int loginUser(String userName, String password, int category,
String clientAddress, int audioPort) throws RemoteException;
public int verifyPassword(String userName, String password)
throws RemoteException;
public boolean registerUser(UserInfo uInfo)throws RemoteException ;
public boolean logoutUser(String userName) throws RemoteException;
public Hashtable getUsersConfig() throws RemoteException;
public void startSession() throws RemoteException;
public void stopSession() throws RemoteException;
public boolean getSessionInfo() throws RemoteException;
public Vector getChatMessages() throws RemoteException;
public boolean sayYes(String userName) throws RemoteException;
public boolean sayNo(String userName) throws RemoteException ;
public boolean clearYesNo() throws RemoteException ;
public boolean raiseHand(String userName) throws RemoteException;
public boolean lowerHand(String userName) throws RemoteException;
public boolean lowerAllHands() throws RemoteException;
public void stepInOut(String userName) throws RemoteException;
public void sendFeedback(int pace, int clarity) throws RemoteException;
public int [] receiveFeedback() throws RemoteException;
public boolean clearFeedback() throws RemoteException;
public int [] receivePaceFeedback() throws RemoteException;
public int [] receiveClarityFeedback() throws RemoteException;
public void broadcastMessage(String msg,String sender,String receiver,Integer type) throws RemoteException;
public boolean isMicLocked(String userName) throws RemoteException;
public boolean lockMic(String userName) throws RemoteException;
public boolean unLockMic(String userName) throws RemoteException;
public void giveMicToNext() throws RemoteException;
public String getMicLocker() throws RemoteException;
public boolean startAudioRelay(String usrName) throws RemoteException;
public boolean stopAudioRelay(String userName) throws RemoteException;
public void presenterURLChanged(String newURL) throws RemoteException;
public boolean startReceivingFile(String strURL, InetAddress ClientAddress,
int fileUploadPort) throws RemoteException;
public Hashtable getURLTable() throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?