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, toArrayprotected ComponentFactory<Subsystem> subsystems
public final Channel createChannel(String channeltype, Connection con) throws UnsupportedChannelException, PermissionDeniedException
createChannel in interface ChannelFactoryUnsupportedChannelExceptionPermissionDeniedExceptionprotected 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 ChannelFactoryUnsupportedChannelExceptionPermissionDeniedExceptionprotected Subsystem createPublicKeySubsystem(SessionChannel session) throws UnsupportedChannelException
UnsupportedChannelExceptionCopyright © 2025. All rights reserved.