Package org.apache.sshd.server.channel
Class ChannelSessionFactory
java.lang.Object
org.apache.sshd.server.channel.ChannelSessionFactory
- All Implemented Interfaces:
ChannelFactory
,NamedResource
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ChannelSessionFactory
public ChannelSessionFactory()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceNamedResource
-
createChannel
- Specified by:
createChannel
in interfaceChannelFactory
- Parameters:
session
- TheSession
through which the request is made- Returns:
- The relevant
Channel
- Throws:
IOException
- If failed to create the requested instance
-