rmiClient
Class ChatObject

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by rmiClient.ChatObject
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, ChatObjectInterface

public class ChatObject
extends java.rmi.server.UnicastRemoteObject
implements ChatObjectInterface

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ChatObject(Client client)
           
 
Method Summary
 void handle(java.lang.String message)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChatObject

public ChatObject(Client client)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

handle

public void handle(java.lang.String message)
            throws java.rmi.RemoteException
Specified by:
handle in interface ChatObjectInterface
Throws:
java.rmi.RemoteException