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.

Method Index

 o alias(String)
The user changed their alias
 o newMessage(int, String)
The user entered a new message
 o state(int)
The user has changed state

Methods

 o newMessage
  public abstract void newMessage(int seqID,
                                  String message) throws RemoteException
The user entered a new message
 o alias
  public abstract void alias(String newAlias) throws RemoteException
The user changed their alias
 o state
  public abstract void state(int newState) throws RemoteException
The user has changed state

All Packages  Class Hierarchy  This Package  Previous  Next  Index