[ 
https://issues.apache.org/jira/browse/DIRMINA-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny closed DIRMINA-187.
-------------------------------------


> Support IoHandler per IoSession (SingleSessionIoHandler)
> --------------------------------------------------------
>
>                 Key: DIRMINA-187
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-187
>             Project: MINA
>          Issue Type: New Feature
>            Reporter: Simon Raess
>            Assignee: Trustin Lee
>            Priority: Minor
>             Fix For: 0.9.3
>
>         Attachments: single-session-handler.zip
>
>
> Currently, when binding an IoAcceptor a single IoHandler is specified that is 
> shared among all sessions. This shared IoHandler cannot use instance 
> variables (without proper synchronization), because it is accessed 
> concurrently by multiple threads. The handler state has to be stored as 
> session attributes. However, if there was one IoHandler per IoSession, state 
> stored in instance variables of the IoHandler could be used safely.
> The attached zip file contains an implemented solution (as suggested by 
> Niklas Therning) for this idea. See the following post in the mailing list 
> archive for a detailed description:
> http://mail-archives.apache.org/mod_mbox/directory-mina-dev/200603.mbox/%[email protected]%3e
> What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to