mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: [MINA3] Some points
Date Mon, 08 Apr 2013 16:56:49 GMT
Le 4/8/13 6:20 PM, Jeff MAURY a écrit :
> On Mon, Apr 8, 2013 at 6:04 PM, Emmanuel Lécharny <elecharny@gmail.com>wrote:
>> Le 4/8/13 5:46 PM, Jeff MAURY a écrit :
>>> 2) Session objects are not immutable
>>> I noticed that session objects (assigned to clients and servers) are not
>>> immutable, but I think changing properties of such objects may lead to
>>> unexpected behavior. Would the Builder pattern more accurate ?
>> Not sure. The session might change, as we store attributes into it.Jeff
> Sorry I was talking about config objets, not session ones.

AFAICT, there are few config objects that can change. But for instance,
the chain may change dynamically (for instance, we may want to activate
or desactivate the logger filter).

Do you have any other config object in mind ?

Emmanuel Lécharny

View raw message