Class ClientImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
ClientImpl
- All Implemented Interfaces:
- Client, java.rmi.Remote, java.io.Serializable
- public class ClientImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Client
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
ClientImpl
public ClientImpl()
throws java.rmi.RemoteException
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