Package org.apache.sshd.server.channel
Class ChannelSessionFactory
- java.lang.Object
-
- org.apache.sshd.server.channel.ChannelSessionFactory
-
- All Implemented Interfaces:
ChannelFactory
,NamedResource
public class ChannelSessionFactory extends Object implements ChannelFactory
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static ChannelSessionFactory
INSTANCE
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description ChannelSessionFactory()
-
-
-
Field Detail
-
INSTANCE
public static final ChannelSessionFactory INSTANCE
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceNamedResource
-
createChannel
public Channel createChannel(Session session) throws IOException
- 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
-
-