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]