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:
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira