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 | Method and Description |
---|---|
Channel |
ChannelAgentForwardingFactory.createChannel(Session session) |
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
Client side channel session
|
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 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 |
protected Integer |
ExitStatusChannelRequestHandler.processRequestValue(Channel channel,
String request,
Buffer buffer) |
Modifier and Type | Field and Description |
---|---|
static Function<ChannelRequestHandler,RequestHandler<Channel>> |
ChannelRequestHandler.CHANN2HNDLR |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelFactory.createChannel(Session session) |
static Channel |
ChannelFactory.createChannel(Session session,
Collection<? extends ChannelFactory> factories,
String name) |
Channel |
ChannelHolder.getChannel() |
Channel |
ChannelAsyncOutputStream.getChannel() |
Channel |
ChannelAsyncInputStream.getChannel() |
Channel |
Window.getChannel() |
Modifier and Type | Method and Description |
---|---|
List<RequestHandler<Channel>> |
AbstractChannel.getRequestHandlers() |
List<RequestHandler<Channel>> |
Channel.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, long)
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 Buffer |
ChannelAsyncOutputStream.createSendBuffer(Buffer buffer,
Channel channel,
int length) |
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 |
AbstractChannel.addRequestHandler(RequestHandler<Channel> handler) |
void |
Channel.addRequestHandler(RequestHandler<Channel> handler) |
default void |
Channel.addRequestHandlers(Collection<? extends RequestHandler<Channel>> handlers) |
void |
AbstractChannel.removeRequestHandler(RequestHandler<Channel> handler) |
void |
Channel.removeRequestHandler(RequestHandler<Channel> handler) |
default void |
Channel.removeRequestHandlers(Collection<? extends RequestHandler<Channel>> handlers) |
Constructor and Description |
---|
ChannelAsyncInputStream(Channel channel) |
ChannelAsyncOutputStream(Channel channel,
byte cmd) |
RemoteWindow(Channel channel,
boolean isClient) |
Window(Channel channel,
boolean isClient) |
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 | Field and Description |
---|---|
protected Channel |
DefaultChannelStreamWriter.channel |
Modifier and Type | Method and Description |
---|---|
default ChannelStreamWriter |
ChannelStreamWriterResolverManager.resolveChannelStreamWriter(Channel channel,
byte cmd) |
ChannelStreamWriter |
ChannelStreamWriterResolver.resolveChannelStreamWriter(Channel channel,
byte cmd) |
Constructor and Description |
---|
DefaultChannelStreamWriter(Channel channel) |
Modifier and Type | Class and Description |
---|---|
class |
TcpipClientChannel
TODO Add javadoc
|
Constructor and Description |
---|
ChannelToPortHandler(IoSession port,
Channel channel) |
Modifier and Type | Method and Description |
---|---|
Channel |
UnknownChannelReferenceHandler.handleUnknownChannelCommand(ConnectionService service,
byte cmd,
long 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 |
---|---|
long |
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<Long,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,
long recipient,
Buffer buffer) |
Channel |
DefaultUnknownChannelReferenceHandler.handleUnknownChannelCommand(ConnectionService service,
byte cmd,
long channelId,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
Collection<Channel> |
AbstractConnectionService.getChannels() |
Modifier and Type | Method and Description |
---|---|
long |
AbstractConnectionService.registerChannel(Channel channel) |
void |
AbstractConnectionService.unregisterChannel(Channel channel)
Remove this channel from the list of managed channels
|
Modifier and Type | Method and Description |
---|---|
void |
StandardEnvironment.signal(Channel channel,
Signal signal) |
void |
SignalListener.signal(Channel channel,
Signal signal) |
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.createChannel(Session session) |
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.createChannel(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
ChannelForwardedX11 |
Modifier and Type | Class and Description |
---|---|
protected class |
DefaultSftpClient.SftpChannelSubsystem |
Modifier and Type | Method and Description |
---|---|
Channel |
AbstractSftpClient.getChannel() |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.