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 ChannelSessionFactoryINSTANCE-
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:
getNamein interfaceNamedResource
-
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
-
-