Class ServerImpl

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

public class ServerImpl
extends java.rmi.server.UnicastRemoteObject
implements Server

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerImpl()
           
 
Method Summary
 Connection logon(java.lang.String name, Client c)
           
static void main(java.lang.String[] args)
           
 void notifyWhoChanged()
           
 
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

ServerImpl

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

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)