Package org.apache.sshd.server.forward
Class TcpipServerChannel.TcpipFactory
- java.lang.Object
-
- org.apache.sshd.server.forward.TcpipServerChannel.TcpipFactory
-
- All Implemented Interfaces:
ChannelFactory,NamedResource,ExecutorServiceCarrier
- Direct Known Subclasses:
DirectTcpipFactory,ForwardedTcpipFactory
- Enclosing class:
- TcpipServerChannel
public abstract static class TcpipServerChannel.TcpipFactory extends Object implements ChannelFactory, ExecutorServiceCarrier
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTcpipFactory(TcpForwardingFilter.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelcreateChannel(Session session)CloseableExecutorServicegetExecutorService()StringgetName()TcpForwardingFilter.TypegetType()
-
-
-
Constructor Detail
-
TcpipFactory
protected TcpipFactory(TcpForwardingFilter.Type type)
-
-
Method Detail
-
getType
public final TcpForwardingFilter.Type getType()
-
getName
public final String getName()
- Specified by:
getNamein interfaceNamedResource
-
getExecutorService
public CloseableExecutorService getExecutorService()
- Specified by:
getExecutorServicein interfaceExecutorServiceCarrier
-
createChannel
public Channel createChannel(Session session) throws IOException
- Specified by:
createChannelin interfaceChannelFactory- Parameters:
session- TheSessionthrough which the request is made- Returns:
- The relevant
Channel - Throws:
IOException- If failed to create the requested instance
-
-