Stefano,

Thanks for that.

On Mon, 2006-01-23 at 16:50 +0100, Stefano Bagnara wrote:
> Andrew Sykes wrote:
> > Stefano,
> > 
> > This may seem like a silly question, but what is the "state map"? Can
> > you elaborate a bit please?
> 
> 
> With the new CmdHandler architecture introduced in James 2.3.0 the state 
> of the session is stored in the SMTPSession object. The single commands 
> behaviour depends on the current session state and they alter the 
> session state. For flexibility the SMTPSession contains a state HashMap 
> that can be used by commands to store arbitrary key-values pair.
> 
> E.g:
> the current sender is stored in the map with the key "SENDER_ADDRESS" by 
> the MailCmdHandler and used by the following commands.
> 
> 
> Stefano
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to