mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-121) Add Factories to create IoAcceptors for TcpipForwardSupport & X11ForwardSupport
Date Mon, 17 Sep 2012 07:27:07 GMT

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

Guillaume Nodet commented on SSHD-121:

I was looking at SSHD-62 and found that this is slightly opposite to this issue.  If we are
to use a single connector / acceptor for the client / server, we can't pass the Session at
creation time.  Do you have a real use of the ServerSession ? If so, could you explain a bit
more to see if there's a way to have both things ?
> Add Factories to create IoAcceptors for TcpipForwardSupport & X11ForwardSupport
> -------------------------------------------------------------------------------
>                 Key: SSHD-121
>                 URL: https://issues.apache.org/jira/browse/SSHD-121
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.6.0
>            Reporter: Bill Kuker
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 0.7.0
>         Attachments: SSHD-121-Proposal.patch
> I would like to make it possible for applications embedding Mina SSHD to have greater
control over the IoAcceptors used by port forwards. I will do the work and submit a patch
if this effort seems valuable to the project.
> I would like to add these methods to the ServerFactoryManager interface:
>     ForwardingAcceptorFactory getTcpipForwardNioSocketAcceptorFactory();
>     ForwardingAcceptorFactory getX11ForwardNioSocketAcceptorFactory();
> Create an Interface ForwardingAcceptorFactory with:
>     public NioSocketAcceptor createNioSocketAcceptor(ServerSession ss);
> Use the ForwardingAcceptorFactory in TcpipForwardSupport and X11ForwardSupport.
> Implement a DefaultForwardingAcceptorFactory to be used by default.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message