Class ConnectionImpl

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

public class ConnectionImpl
extends java.rmi.server.UnicastRemoteObject
implements Connection

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ConnectionImpl(java.lang.String nm, Client c, ServerImpl s, java.util.Hashtable conn)
           
 
Method Summary
 void logoff()
           
 void say(java.lang.String msg)
           
 void say(java.lang.String who, java.lang.String msg)
           
 java.lang.String[] who()
           
 
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

ConnectionImpl

public ConnectionImpl(java.lang.String nm,
                      Client c,
                      ServerImpl s,
                      java.util.Hashtable conn)
               throws java.rmi.RemoteException
Method Detail

say

public void say(java.lang.String msg)
         throws java.rmi.RemoteException
Specified by:
say in interface Connection
Throws:
java.rmi.RemoteException

say

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

who

public java.lang.String[] who()
                       throws java.rmi.RemoteException
Specified by:
who in interface Connection
Throws:
java.rmi.RemoteException

logoff

public void logoff()
            throws java.rmi.RemoteException
Specified by:
logoff in interface Connection
Throws:
java.rmi.RemoteException