public class DefaultChannelFactory extends ComponentFactory<Channel> implements ChannelFactory
Modifier and Type | Field and Description |
---|---|
protected ComponentFactory<Subsystem> |
subsystems |
order, supported
Constructor and Description |
---|
DefaultChannelFactory() |
Modifier and Type | Method and Description |
---|---|
Channel |
createChannel(String channeltype,
Connection con) |
protected Subsystem |
createPublicKeySubsystem(SessionChannel session) |
protected Channel |
createSessionChannel(Connection con) |
protected SftpSubsystem |
createSftpSubsystem(SessionChannel session) |
Subsystem |
createSubsystem(String name,
SessionChannel session) |
add, changePositionofAlgorithm, clear, clone, configureSecurityLevel, configureSecurityLevel, contains, createInstance, createNewOrdering, filter, getInstance, getMaximumSecurity, getMinimumSecurity, getSecurityLevel, getSecurityLevel, hasComponents, list, list, list, listInclusive, lockComponents, names, order, order, remove, removeAllBut, selectStrongestComponent, toArray
protected ComponentFactory<Subsystem> subsystems
public final Channel createChannel(String channeltype, Connection con) throws UnsupportedChannelException, PermissionDeniedException
createChannel
in interface ChannelFactory
UnsupportedChannelException
PermissionDeniedException
protected Channel createSessionChannel(Connection con) throws UnsupportedChannelException, PermissionDeniedException
protected SftpSubsystem createSftpSubsystem(SessionChannel session) throws UnsupportedChannelException, PermissionDeniedException
public Subsystem createSubsystem(String name, SessionChannel session) throws UnsupportedChannelException, PermissionDeniedException
createSubsystem
in interface ChannelFactory
UnsupportedChannelException
PermissionDeniedException
protected Subsystem createPublicKeySubsystem(SessionChannel session) throws UnsupportedChannelException
UnsupportedChannelException
Copyright © 2024. All rights reserved.