Interface java.rmi.examples.chat.ChatConnection
All Packages Class Hierarchy This Package Previous Next Index
Interface java.rmi.examples.chat.ChatConnection
- public interface ChatConnection
- extends Object
- extends Remote
A ChatConnection object represents the connection from
a particular chat client to the server. ChatConnection
objects are returned by the ChatServer.add method.
-
alias(String)
- The user changed their alias
-
newMessage(int, String)
- The user entered a new message
-
state(int)
- The user has changed state
newMessage
public abstract void newMessage(int seqID,
String message) throws RemoteException
- The user entered a new message
alias
public abstract void alias(String newAlias) throws RemoteException
- The user changed their alias
state
public abstract void state(int newState) throws RemoteException
- The user has changed state
All Packages Class Hierarchy This Package Previous Next Index