Package org.apache.sshd.server.channel
Class ChannelSessionFactory
java.lang.Object
org.apache.sshd.server.channel.ChannelSessionFactory
- All Implemented Interfaces:
ChannelFactory,NamedResource
-
Field Summary
FieldsFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ChannelSessionFactory
public ChannelSessionFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceNamedResource- Returns:
- The resource name
-
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
-