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

📄 serverface.java

📁 一个实现网络会议的软件.包含三个包.其中一个包需JMF的支持.
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -