[
https://issues.apache.org/jira/browse/SSHD-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-632:
--------------------------------
Summary: Provide more flexibility in overriding Nio2 related classes -
e.g., acceptor, connector, session (was: Cannot override Nio2Session creation
inside Nio2Acceptor)
> 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
>
> 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)