users@grizzly.java.net

porting dCache to grizzly

From: Tigran Mkrtchyan <tigran.mkrtchyan_at_desy.de>
Date: Fri, 20 Jun 2008 23:02:03 +0200

Hi Jeanfrancois et al.


Here is one of the out building blocks which we would like to port to
grizzly nio.

http://www.dcache.org/WebSVN/filedetails.php?repname=dCache&path=%2Ftrunk%2Fmodules%2Fcells%2Fdmg%2Fcells%2Fservices%2Flogin%2FLoginManager.java


What it does:

   LoginManager is a generic class which accept a connections and
creates an instance of protocol filter defined in the config file. The
are two main components - ListenThread, which crates and accepts new
connections and RunEngineThread, which creates a new instance of
protocol filter. Protocol Filter internally starts it's own working
thread. As you can see lot of reflection and messy old code ( from 1998
). We are in the stage of cleaning it up and, I hope, we can drop most
of old staff and make use of grizzly framework. I will create a
dedicated branch for grizzly port I keep you up to date with out progress.


Thanks in advance,
        Tigran.

________________________________________________________________________
Tigran Mkrtchyan DESY, IT,
tigran.mkrtchyan_at_desy.de Notkestrasse 85,
Tel: + 49 40 89983946 Hamburg 22607,
Fax: + 49 40 89984429 Germany.