Interface java.rmi.examples.chat.ChatServer
All Packages Class Hierarchy This Package Previous Next Index
Interface java.rmi.examples.chat.ChatServer
- public interface ChatServer
- extends Object
- extends Remote
The main chat server interface. It supports only one method. which
returns a ChatConnection object to represent the
connection from the added client to the server. All future
communication from the client to the server is done through this
ChatConnection object.
-
add(ChatClient, String)
- Add a new client to the conversation.
add
public abstract ChatAdded add(ChatClient client,
String alias) throws RemoteException
- Add a new client to the conversation.
All Packages Class Hierarchy This Package Previous Next Index