directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <vino...@gmail.com>
Subject Re: [mina] Summary of today's changes
Date Thu, 21 Apr 2005 12:23:23 GMT
On 4/21/05, Trustin Lee <trustin@gmail.com> wrote:
> Hi,
> 
--snip--

> 
> 2) SessionInitializer is introduced.
> 
> You can specify your SessionInitializer implementation as a parameter
> of bind(...) and connect(...) methods so that SessionInitializer is
> invoked before MINA starts to manage the session.  You could adjust
> default socket parameters and set up default attributes there.
> 
> 3) SessionManager is a top-level interface that all acceptors and
> connectors implements now.
> 
> For now, there are only getter and setter of exceptionManager
> property, but we could also add more common functionality in the
> future.  How about getter of the number of active sessions?

Would it be possible to have a default SessionInitializer being passed
to SessionManager directly so that all sessions can have some default
properties?

Getting number of active sessions would be a cute addition :)

--snip--

Regards,
Vinod.

Mime
View raw message