public class DefaultServerChannelFactory extends ComponentFactory<Channel<SshServerContext>> implements ChannelFactory<SshServerContext>
Modifier and Type | Field and Description |
---|---|
protected ComponentFactory<Subsystem<SshServerContext>> |
subsystems |
order, supported
Constructor and Description |
---|
DefaultServerChannelFactory() |
Modifier and Type | Method and Description |
---|---|
Channel<SshServerContext> |
createChannel(String channeltype,
Connection<SshServerContext> con) |
protected Channel<SshServerContext> |
createSessionChannel(Connection<SshServerContext> con) |
Subsystem<SshServerContext> |
createSubsystem(String name,
Channel<SshServerContext> session) |
add, changePositionofAlgorithm, clear, clone, contains, createInstance, createNewOrdering, getInstance, list, lockComponents, order, remove, removeAllBut, toArray
protected ComponentFactory<Subsystem<SshServerContext>> subsystems
public final Channel<SshServerContext> createChannel(String channeltype, Connection<SshServerContext> con) throws UnsupportedChannelException, PermissionDeniedException
createChannel
in interface ChannelFactory<SshServerContext>
UnsupportedChannelException
PermissionDeniedException
protected Channel<SshServerContext> createSessionChannel(Connection<SshServerContext> con) throws UnsupportedChannelException, PermissionDeniedException
public Subsystem<SshServerContext> createSubsystem(String name, Channel<SshServerContext> session) throws UnsupportedChannelException, PermissionDeniedException
createSubsystem
in interface ChannelFactory<SshServerContext>
UnsupportedChannelException
PermissionDeniedException
Copyright © 2016. All rights reserved.