Package org.apache.sshd.common.forward
Interface ForwarderFactory
-
- All Known Implementing Classes:
DefaultForwarderFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ForwarderFactory
A factory for creating forwarder objects for client port forwarding- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Forwarder
create(ConnectionService service)
Creates the forwarder to be used for TCP/IP port forwards for this session.
-
-
-
Method Detail
-
create
Forwarder create(ConnectionService service)
Creates the forwarder to be used for TCP/IP port forwards for this session.- Parameters:
service
- theConnectionService
the connections are forwarded through- Returns:
- the
Forwarder
that will listen for connections and set up forwarding
-
-