Class ConnectionImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
ConnectionImpl
- All Implemented Interfaces:
- Connection, java.rmi.Remote, java.io.Serializable
- public class ConnectionImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Connection
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
ConnectionImpl
public ConnectionImpl(java.lang.String nm,
Client c,
ServerImpl s,
java.util.Hashtable conn)
throws java.rmi.RemoteException
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