Top Fields Constructors Methods
org.apache.sshd.agent.unix

public Class ChannelAgentForwardingFactory

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.Factory, org.apache.sshd.common.channel.Channel, .ChannelFactory, org.apache.sshd.common.session.Session, org.apache.sshd.common.util.ValidateUtils, org.apache.sshd.common.util.threads.CloseableExecutorService

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final Factory<CloseableExecutorService>
public static final ChannelAgentForwardingFactory
private final String
public static final ChannelAgentForwardingFactory

Constructor Summary

AccessConstructor and Description
public
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

executorServiceFactoryback to summary
private final Factory<CloseableExecutorService> executorServiceFactory
IETFback to summary
public static final ChannelAgentForwardingFactory IETF
nameback to summary
private final String name
OPENSSHback to summary
public static final ChannelAgentForwardingFactory OPENSSH

Constructor Detail

ChannelAgentForwardingFactoryback to summary
public ChannelAgentForwardingFactory(String name)
ChannelAgentForwardingFactoryback to summary
public ChannelAgentForwardingFactory(String name, Factory<CloseableExecutorService> executorServiceFactory)

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