Top Fields Constructors Methods
org.apache.sshd.server.channel

public Class ChannelSessionFactory

extends Object
implements ChannelFactory
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.channel.ChannelFactory, org.apache.sshd.common.NamedResource
Imports
java.io.IOException, org.apache.sshd.common.channel.Channel, .ChannelFactory, org.apache.sshd.common.session.Session

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final ChannelSessionFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Channel
createChannel(Session
The Session through which the request is made
session
)

Implements org.apache.sshd.common.channel.ChannelFactory.createChannel.

public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ChannelSessionFactory INSTANCE

Constructor Detail

ChannelSessionFactoryback to summary
public ChannelSessionFactory()

Method Detail

createChannelback to summary
public Channel createChannel(Session session) throws IOException

Implements org.apache.sshd.common.channel.ChannelFactory.createChannel.

Parameters
session:Session

Doc from org.apache.sshd.common.channel.ChannelFactory.createChannel.

The Session through which the request is made

Returns:Channel

Doc from org.apache.sshd.common.channel.ChannelFactory.createChannel.

The relevant Channel

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.sshd.common.channel.ChannelFactory.createChannel.

If failed to create the requested instance

getNameback to summary
public String getName()

Implements org.apache.sshd.common.NamedResource.getName.

Returns:String

Doc from org.apache.sshd.common.NamedResource.getName.

The resource name

Annotations
@Override