You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eugene Petrenko (JIRA)" <ji...@apache.org> on 2016/01/29 10:37:40 UTC

[jira] [Commented] (SSHD-632) Provide more flexibility in overriding Nio2 related classes - e.g., acceptor, connector, session

    [ https://issues.apache.org/jira/browse/SSHD-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123257#comment-15123257 ] 

Eugene Petrenko commented on SSHD-632:
--------------------------------------

Related to SSHD-636

> Provide more flexibility in overriding Nio2 related classes - e.g., acceptor, connector, session
> ------------------------------------------------------------------------------------------------
>
>                 Key: SSHD-632
>                 URL: https://issues.apache.org/jira/browse/SSHD-632
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Eugene Petrenko
>            Assignee: Goldstein Lyor
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> I use logging MDC in my application to separate logging between clients/threads/IPs and so on. Currently I see some logging in the library that cannot be wrapped with setup/teardown of MDC (logging multiple diagnostics context).
> I see that Nio2Session class creation is hardcoded inside implementation of Noi2Acceptor class. 
> Next, in Nio2Session class it's not possible to override onCompleted handler inside doReadCycle methods' callback. Moving it as instance method may help as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)