james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer ...@byteaction.de>
Subject RE: smtp-handler-api and merge to trunk
Date Tue, 11 Jul 2006 20:00:55 GMT
Am Dienstag, den 11.07.2006, 13:27 -0400 schrieb Noel J. Bergman:
> Norman Maurer wrote:
> 
> > just forget to say that a "fastfailfilter" can now just add by add :
> > <class="your.fast.fail.filter" command="COMMAND1(,COMMAND2,...)>
> 
> > The fastfailfilter class will be insert automatic to the right position
> > in chain. ( Between coreFilterHandler and commandHandler for the
> > configures command).
> 
> Actually, I don't think that I like this, and would eliminate the default
> hardcoded handler chain entirely.  It is easy enough to require users to
> have the few entries in the config file.
> 
> And did you plan to add a syntax checking/parsing package, so that the
> downstream handler's didn't have to validate and parse the parameters?
> 
> 	--- Noel

The checkin and parsin is done by the "BaseFilterHandlers". The parsed
and needed infos is put in the state map and retrieven from there by the
BaseCmdHandlers if needed. If its unclear just have a look on the code..

bye
Norman


Mime
View raw message