public class DefaultClientChannelFactory extends ComponentFactory<Channel<SshClientContext>> implements ChannelFactory<SshClientContext>
order, supported
Constructor and Description |
---|
DefaultClientChannelFactory() |
Modifier and Type | Method and Description |
---|---|
Channel<SshClientContext> |
createChannel(String channeltype,
Connection<SshClientContext> con)
Called when a channel needs to be created.
|
protected Channel<SshClientContext> |
createSessionChannel(Connection<SshClientContext> con)
Creates the session channel.
|
Subsystem<SshClientContext> |
createSubsystem(String name,
Channel<SshClientContext> session)
Request to create a subsystem.
|
add, changePositionofAlgorithm, clear, clone, contains, createInstance, createNewOrdering, getInstance, list, lockComponents, order, remove, removeAllBut, toArray
public final Channel<SshClientContext> createChannel(String channeltype, Connection<SshClientContext> con) throws UnsupportedChannelException, PermissionDeniedException
createChannel
in interface ChannelFactory<SshClientContext>
UnsupportedChannelException
PermissionDeniedException
protected Channel<SshClientContext> createSessionChannel(Connection<SshClientContext> con)
con
- public Subsystem<SshClientContext> createSubsystem(String name, Channel<SshClientContext> session) throws UnsupportedChannelException, PermissionDeniedException
createSubsystem
in interface ChannelFactory<SshClientContext>
UnsupportedChannelException
PermissionDeniedException
Copyright © 2016. All rights reserved.