rmi
Interface ChatServerInterface

All Superinterfaces:
ChatParticipantInterface, java.rmi.Remote
All Known Implementing Classes:
ChatServer

public interface ChatServerInterface
extends ChatParticipantInterface

Interface for server in simple chat application.


Method Summary
 java.util.List<ChatClientInterface> getClients()
          Gets a list of clients.
 
Methods inherited from interface rmi.ChatParticipantInterface
addClient, broadcast, display, removeClient
 

Method Detail

getClients

java.util.List<ChatClientInterface> getClients()
                                               throws java.rmi.RemoteException
Gets a list of clients.

Returns:
list of clients currently participating
Throws:
java.rmi.RemoteException