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

    Modifier and Type
    Method
    Description
    Creates the forwarder to be used for TCP/IP port forwards for this session.
  • Method Details

    • create

      Forwarder create(ConnectionService service)
      Creates the forwarder to be used for TCP/IP port forwards for this session.
      Parameters:
      service - the ConnectionService the connections are forwarded through
      Returns:
      the Forwarder that will listen for connections and set up forwarding