Mail Archive Home | c-jdbc-commits List | September 2003 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Thursday, September 18, 2003 @ 13:10:47
Author: cecchet
Path: /cvsroot/c-jdbc/c-jdbc/src/org/objectweb/cjdbc
Modified: controller/Controller.java controller/ControllerConfigure.java
controller/ControllerConstants.java
controller/ControllerServerThread.java
controller/ControllerWorkerThread.java
controller/virtualdatabase/DistributedVirtualDatabase.java
controller/virtualdatabase/VirtualDatabase.java
controller/virtualdatabase/VirtualDatabaseWorkerThread.java
controller/xml/ControllerHandler.java
controller/xml/ControllerXmlTags.java
controller/xml/DatabasesHandler.java
controller/xml/DatabasesXmlTags.java driver/Driver.java
Removed: controller/virtualdatabase/VirtualDatabaseServerThread.java
driver/protocol/ConnectionPoint.java
Changed driver-controller connection establishment and handling.
RMI is no more used to perform the initial lookup and therefore
ConnectionPoint is now useless.
The driver connects to the ControllerServerThread that does the accept and
put the connection in a queue for ControllerWorkerThreads
(ControllerServerThreads create ControllerWorkerThreads when needed).
ControllerWorkerThread reads the virtual database name, checks the maximum
number of connections allowed, handle the VirtualDatabaseWorkerThread pool
and gives the job to one of the VdbWorkerThread.
Finally, the VdbWorkerThread checks the authentication and uses the usual
protocol with the driver for the different actions.
-------------------------------------------------------------+
controller/Controller.java | 73 +--
controller/ControllerConfigure.java | 4
controller/ControllerConstants.java | 7
controller/ControllerServerThread.java | 20 -
controller/ControllerWorkerThread.java | 158 ++++++--
controller/virtualdatabase/DistributedVirtualDatabase.java | 6
controller/virtualdatabase/VirtualDatabase.java | 90 ----
controller/virtualdatabase/VirtualDatabaseServerThread.java | 186 ----------
controller/virtualdatabase/VirtualDatabaseWorkerThread.java | 64 +--
controller/xml/ControllerHandler.java | 112 +++---
controller/xml/ControllerXmlTags.java | 13
controller/xml/DatabasesHandler.java | 18
controller/xml/DatabasesXmlTags.java | 8
driver/Driver.java | 96 +----
driver/protocol/ConnectionPoint.java | 92 ----
15 files changed, 318 insertions(+), 629 deletions(-)
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.