package rmiServer;

import java.rmi.Remote;
import java.rmi.RemoteException;
import rmiClient.ChatObjectInterface;


/**
 * The interface to use the server. it  is used by the chat client to call remote methods on the server.
 * 
 * @author Tenzin & patrick
 * @version 0.01 
 * @date 25 nov 2008
 */

public interface ServerInterface extends Remote {
	public void connect(String name, ChatObjectInterface chat) throws RemoteException;
	public void send(String message) throws RemoteException;
	public void disconnect(ChatObjectInterface chat) throws RemoteException; 

}
