Modifier and Type | Method and Description |
---|---|
List<NamedFactory<Channel>> |
SshAgentFactory.getChannelForwardingFactories(FactoryManager manager)
The channels are requested by the ssh server when forwarding a client request.
|
Modifier and Type | Class and Description |
---|---|
class |
AgentForwardedChannel |
class |
ChannelAgentForwarding
The client side channel that will receive requests forwards by the SSH server.
|
Modifier and Type | Field and Description |
---|---|
static List<NamedFactory<Channel>> |
LocalAgentFactory.DEFAULT_FORWARDING_CHANNELS |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelAgentForwardingFactory.create() |
Modifier and Type | Method and Description |
---|---|
List<NamedFactory<Channel>> |
ProxyAgentFactory.getChannelForwardingFactories(FactoryManager manager) |
List<NamedFactory<Channel>> |
LocalAgentFactory.getChannelForwardingFactories(FactoryManager manager) |
Modifier and Type | Field and Description |
---|---|
static List<NamedFactory<Channel>> |
ClientBuilder.DEFAULT_CHANNEL_FACTORIES |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientChannel
A client channel used to communicate with the SSH server.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientChannel
TODO Add javadoc
|
class |
ChannelDirectTcpip
TODO Add javadoc
|
class |
ChannelExec
Client channel to run a remote command
|
class |
ChannelSession
TODO Add javadoc
|
class |
ChannelShell
Client channel to open a remote shell
|
class |
ChannelSubsystem
Client channel to run a subsystem
|
class |
PtyCapableChannelSession
Serves as the base channel session for executing remote commands - including
a full shell.
|
Modifier and Type | Method and Description |
---|---|
default Channel |
ClientChannelHolder.getChannel() |
Constructor and Description |
---|
AbstractClientChannel(String type,
Collection<? extends RequestHandler<Channel>> handlers) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractChannelExitRequestHandler.getEvent(Channel channel,
String request,
V value) |
protected void |
AbstractChannelExitRequestHandler.notifyStateChanged(Channel channel,
String request,
V value)
Notifies that some change has been made to the data in the holder.
|
RequestHandler.Result |
AbstractChannelExitRequestHandler.process(Channel channel,
String request,
boolean wantReply,
Buffer buffer) |
protected Integer |
ExitStatusChannelRequestHandler.processRequestValue(Channel channel,
int exitStatus) |
protected String |
ExitSignalChannelRequestHandler.processRequestValue(Channel channel,
String signalName,
boolean coreDumped,
String message,
String lang) |
protected Integer |
ExitStatusChannelRequestHandler.processRequestValue(Channel channel,
String request,
Buffer buffer) |
protected String |
ExitSignalChannelRequestHandler.processRequestValue(Channel channel,
String request,
Buffer buffer) |
protected abstract V |
AbstractChannelExitRequestHandler.processRequestValue(Channel channel,
String request,
Buffer buffer)
Invoked by default from
AbstractChannelExitRequestHandler.process(Channel, String, boolean, Buffer) when
a request matching the handler's name is received |
Modifier and Type | Method and Description |
---|---|
Channel |
AbstractSftpClient.getChannel() |
Modifier and Type | Field and Description |
---|---|
protected List<NamedFactory<Channel>> |
BaseBuilder.channelFactories |
Modifier and Type | Method and Description |
---|---|
List<NamedFactory<Channel>> |
FactoryManager.getChannelFactories()
Retrieve the list of named factories for
Channel objects. |
Modifier and Type | Method and Description |
---|---|
S |
BaseBuilder.channelFactories(List<NamedFactory<Channel>> channelFactories) |
Modifier and Type | Field and Description |
---|---|
static Function<ChannelRequestHandler,RequestHandler<Channel>> |
ChannelRequestHandler.CHANN2HNDLR |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelAsyncOutputStream.getChannel() |
Channel |
ChannelHolder.getChannel() |
Channel |
ChannelAsyncInputStream.getChannel() |
Modifier and Type | Method and Description |
---|---|
List<RequestHandler<Channel>> |
Channel.getRequestHandlers() |
List<RequestHandler<Channel>> |
AbstractChannel.getRequestHandlers() |
Modifier and Type | Method and Description |
---|---|
default void |
ChannelListener.channelClosed(Channel channel,
Throwable reason)
Called to inform about a channel being closed.
|
default void |
ChannelListener.channelInitialized(Channel channel)
Called to inform about initial setup of a channel via the
init(org.apache.sshd.common.session.ConnectionService, org.apache.sshd.common.session.Session, int)
method. |
default void |
ChannelListener.channelOpenFailure(Channel channel,
Throwable reason)
Called to inform about the failure to open a channel
|
default void |
ChannelListener.channelOpenSuccess(Channel channel)
Called to inform about a channel being successfully opened for a
session.
|
default void |
ChannelListener.channelStateChanged(Channel channel,
String hint)
Called to inform that the channel state may have changed - e.g.,
received EOF, window adjustment, etc..
|
protected void |
AbstractChannel.GracefulChannelCloseable.handleClosePacketWriteFailure(Channel channel,
boolean immediately,
Throwable t) |
protected void |
AbstractChannel.GracefulChannelCloseable.handleClosePacketWritten(Channel channel,
boolean immediately) |
RequestHandler.Result |
ChannelRequestHandler.process(Channel channel,
String request,
boolean wantReply,
Buffer buffer) |
static <T> T |
Channel.resolveAttribute(Channel channel,
AttributeRepository.AttributeKey<T> key)
Attempts to use the channel attribute, if not found then tries the session
|
Modifier and Type | Method and Description |
---|---|
void |
Channel.addRequestHandler(RequestHandler<Channel> handler) |
void |
AbstractChannel.addRequestHandler(RequestHandler<Channel> handler) |
default void |
Channel.addRequestHandlers(Collection<? extends RequestHandler<Channel>> handlers) |
void |
Channel.removeRequestHandler(RequestHandler<Channel> handler) |
void |
AbstractChannel.removeRequestHandler(RequestHandler<Channel> handler) |
default void |
Channel.removeRequestHandlers(Collection<? extends RequestHandler<Channel>> handlers) |
Constructor and Description |
---|
ChannelAsyncInputStream(Channel channel) |
ChannelAsyncOutputStream(Channel channel,
byte cmd) |
Constructor and Description |
---|
AbstractChannel(boolean client,
Collection<? extends RequestHandler<Channel>> handlers) |
AbstractChannel(String discriminator,
boolean client,
Collection<? extends RequestHandler<Channel>> handlers,
CloseableExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
default PacketWriter |
ChannelStreamPacketWriterResolverManager.resolveChannelStreamPacketWriter(Channel channel,
byte cmd) |
PacketWriter |
ChannelStreamPacketWriterResolver.resolveChannelStreamPacketWriter(Channel channel,
byte cmd) |
Modifier and Type | Class and Description |
---|---|
class |
TcpipClientChannel
TODO Add javadoc
|
Modifier and Type | Field and Description |
---|---|
protected List<NamedFactory<Channel>> |
AbstractFactoryManager.channelFactories |
Modifier and Type | Method and Description |
---|---|
List<NamedFactory<Channel>> |
AbstractFactoryManager.getChannelFactories() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFactoryManager.setChannelFactories(List<NamedFactory<Channel>> channelFactories) |
Modifier and Type | Method and Description |
---|---|
Channel |
UnknownChannelReferenceHandler.handleUnknownChannelCommand(ConnectionService service,
byte cmd,
int channelId,
Buffer buffer)
Invoked when the connection service responsible for handling channel
messages receives a message intended for an unknown channel.
|
Modifier and Type | Method and Description |
---|---|
int |
ConnectionService.registerChannel(Channel channel)
Register a newly created channel with a new unique identifier
|
void |
ConnectionService.unregisterChannel(Channel channel)
Remove this channel from the list of managed channels
|
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,Channel> |
AbstractConnectionService.channels
Map of channels keyed by the identifier
|
Modifier and Type | Method and Description |
---|---|
protected Channel |
AbstractConnectionService.getChannel(byte cmd,
Buffer buffer)
Retrieve the channel designated by the given packet
|
protected Channel |
AbstractConnectionService.getChannel(byte cmd,
int recipient,
Buffer buffer) |
Channel |
DefaultUnknownChannelReferenceHandler.handleUnknownChannelCommand(ConnectionService service,
byte cmd,
int channelId,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
Collection<Channel> |
AbstractConnectionService.getChannels() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractConnectionService.handleChannelRegistrationFailure(Channel channel,
int channelId) |
int |
AbstractConnectionService.registerChannel(Channel channel) |
void |
AbstractConnectionService.unregisterChannel(Channel channel)
Remove this channel from the list of managed channels
|
Modifier and Type | Field and Description |
---|---|
static List<NamedFactory<Channel>> |
ServerBuilder.DEFAULT_CHANNEL_FACTORIES |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerChannel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractServerChannel
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelSessionFactory.create() |
Modifier and Type | Method and Description |
---|---|
RequestHandler.Result |
PuttyRequestHandler.process(Channel channel,
String request,
boolean wantReply,
Buffer buffer) |
protected RequestHandler.Result |
PuttyRequestHandler.processPuttyOpcode(Channel channel,
String request,
String opcode,
boolean wantReply,
Buffer buffer) |
Constructor and Description |
---|
AsyncDataReceiver(Channel channel) |
Constructor and Description |
---|
AbstractServerChannel(String discriminator,
Collection<? extends RequestHandler<Channel>> handlers,
CloseableExecutorService executor) |
ChannelSession(Collection<? extends RequestHandler<Channel>> handlers) |
Modifier and Type | Class and Description |
---|---|
class |
TcpipServerChannel
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
Channel |
TcpipServerChannel.TcpipFactory.create() |
Modifier and Type | Class and Description |
---|---|
class |
ChannelForwardedX11 |
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.