Class ClientImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byClientImpl
All Implemented Interfaces:
Client, java.rmi.Remote, java.io.Serializable

public class ClientImpl
extends java.rmi.server.UnicastRemoteObject
implements Client

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ClientImpl()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void speak(java.lang.String who, java.lang.String msg)
           
 void whoChanged()
           
 
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

ClientImpl

public ClientImpl()
           throws java.rmi.RemoteException
Method Detail

whoChanged

public void whoChanged()
                throws java.rmi.RemoteException
Specified by:
whoChanged in interface Client
Throws:
java.rmi.RemoteException

speak

public void speak(java.lang.String who,
                  java.lang.String msg)
           throws java.rmi.RemoteException
Specified by:
speak in interface Client
Throws:
java.rmi.RemoteException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception