Class TcpipServerChannel.TcpipFactory

java.lang.Object
org.apache.sshd.server.forward.TcpipServerChannel.TcpipFactory
All Implemented Interfaces:
ChannelFactory, org.apache.sshd.common.NamedResource, org.apache.sshd.common.util.threads.ExecutorServiceCarrier
Direct Known Subclasses:
DirectTcpipFactory, ForwardedTcpipFactory
Enclosing class:
TcpipServerChannel

public abstract static class TcpipServerChannel.TcpipFactory extends Object implements ChannelFactory, org.apache.sshd.common.util.threads.ExecutorServiceCarrier
Author:
Apache MINA SSHD Project
  • Constructor Details

  • Method Details

    • getType

      public final TcpForwardingFilter.Type getType()
    • getName

      public final String getName()
      Specified by:
      getName in interface org.apache.sshd.common.NamedResource
    • getExecutorService

      public org.apache.sshd.common.util.threads.CloseableExecutorService getExecutorService()
      Specified by:
      getExecutorService in interface org.apache.sshd.common.util.threads.ExecutorServiceCarrier
    • createChannel

      public Channel createChannel(Session session) throws IOException
      Specified by:
      createChannel in interface ChannelFactory
      Parameters:
      session - The Session through which the request is made
      Returns:
      The relevant Channel
      Throws:
      IOException - If failed to create the requested instance