org.hsqldb
Class ServerConnection

java.lang.Object
org.hsqldb.ServerConnection
- All Implemented Interfaces:
- java.lang.Runnable
- class ServerConnection
- extends java.lang.Object
- implements java.lang.Runnable
All ServerConnection objects are listed in a Vector in mServer
and removed when closed.
When a connection is dropped or closed the Server.notify() method is
called. Upon notification, tf the DB is shutdown as a result of SHUTDOWN,
the server stops all
ServerConnection threads. At this point, only the skeletal Server
object remains and everything else will be garbage collected.
(fredt@users)
- Version:
- 1.7.1
|
Method Summary |
(package private) void |
close()
|
private Session |
init()
Method declaration |
void |
run()
Method declaration |
(package private) void |
write(byte[] b)
Method declaration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
user
private java.lang.String user
session
private Session session
mSocket
private java.net.Socket mSocket
mServer
private Server mServer
mInput
private java.io.DataInputStream mInput
mOutput
private java.io.DataOutputStream mOutput
mCurrentThread
private static int mCurrentThread
mThread
private int mThread
ServerConnection
ServerConnection(java.net.Socket socket,
Server server)
close
void close()
init
private Session init()
- Method declaration
run
public void run()
- Method declaration
- Specified by:
run in interface java.lang.Runnable
write
void write(byte[] b)
throws java.io.IOException
- Method declaration