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

Bill Kuker updated SSHD-121:
----------------------------

    Description: 
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.


  was:
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:

    Factory<NioSocketAcceptor> getTcpipForwardNioSocketAcceptorFactory();
    Factory<NioSocketAcceptor> getX11ForwardNioSocketAcceptorFactory();
    Factory<? extends IoAcceptor> getSshServerNioSocketAcceptorFactory();

Replace SshServer's createAcceptor() and configure(IoAcceptor) methods with a 
single call to the factory in create()

Use the NioSocketAcceptor factories in TcpipForwardSupport and 
X11ForwardSupport.

Implement a Factory<NioSocketAcceptor> to be used by default.



> Add Factories to create IoAcceptors for SshServer, 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
>            Priority: Minor
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to