rmiServer
Interface ServerInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
Server

public interface ServerInterface
extends java.rmi.Remote

The interface to use the server. it is used by the chat client to call remote methods on the server.


Method Summary
 void connect(java.lang.String name, ChatObjectInterface chat)
           
 void disconnect(ChatObjectInterface chat)
           
 void send(java.lang.String message)
           
 

Method Detail

connect

void connect(java.lang.String name,
             ChatObjectInterface chat)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

send

void send(java.lang.String message)
          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

disconnect

void disconnect(ChatObjectInterface chat)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException