Class ServerImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
ServerImpl
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, Server
- public class ServerImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Server
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
ServerImpl
public ServerImpl()
throws java.rmi.RemoteException
notifyWhoChanged
public void notifyWhoChanged()
logon
public Connection logon(java.lang.String name,
Client c)
throws java.rmi.RemoteException
- Specified by:
logon
in interface Server
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] args)