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
FieldsFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChannel(Session session) final StringgetName()final TcpForwardingFilter.TypegetType()
-
Field Details
-
type
-
-
Constructor Details
-
TcpipFactory
-
-
Method Details
-
getType
-
getName
- Specified by:
getNamein interfaceNamedResource- Returns:
- The resource name
-
getExecutorService
- Specified by:
getExecutorServicein interfaceExecutorServiceCarrier- Returns:
- The
CloseableExecutorServiceto use
-
createChannel
- 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
-