Class DefaultSftpClient.SftpChannelSubsystem

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.util.closeable.AbstractInnerCloseable
org.apache.sshd.common.channel.AbstractChannel
org.apache.sshd.client.channel.AbstractClientChannel
org.apache.sshd.client.channel.AsyncCapableClientChannel
org.apache.sshd.client.channel.ChannelSession
org.apache.sshd.client.channel.ChannelSubsystem
org.apache.sshd.sftp.client.impl.DefaultSftpClient.SftpChannelSubsystem
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.client.channel.ClientChannel, org.apache.sshd.client.session.ClientSessionHolder, org.apache.sshd.common.AttributeRepository, org.apache.sshd.common.AttributeStore, org.apache.sshd.common.channel.Channel, org.apache.sshd.common.channel.ChannelIdentifier, org.apache.sshd.common.channel.ChannelListenerManager, org.apache.sshd.common.channel.StreamingChannel, org.apache.sshd.common.channel.throttle.ChannelStreamWriterResolver, org.apache.sshd.common.channel.throttle.ChannelStreamWriterResolverManager, org.apache.sshd.common.Closeable, org.apache.sshd.common.PropertyResolver, org.apache.sshd.common.session.SessionContextHolder, org.apache.sshd.common.session.SessionHolder<org.apache.sshd.common.session.Session>, org.apache.sshd.common.util.threads.ExecutorServiceCarrier
Enclosing class:
DefaultSftpClient

protected class DefaultSftpClient.SftpChannelSubsystem extends org.apache.sshd.client.channel.ChannelSubsystem
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.sshd.common.channel.AbstractChannel

    org.apache.sshd.common.channel.AbstractChannel.GracefulChannelCloseable, org.apache.sshd.common.channel.AbstractChannel.GracefulState, org.apache.sshd.common.channel.AbstractChannel.PacketValidator

    Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    org.apache.sshd.common.util.closeable.AbstractCloseable.State

    Nested classes/interfaces inherited from interface org.apache.sshd.common.AttributeRepository

    org.apache.sshd.common.AttributeRepository.AttributeKey<T>

    Nested classes/interfaces inherited from interface org.apache.sshd.common.channel.StreamingChannel

    org.apache.sshd.common.channel.StreamingChannel.Streaming
  • Field Summary

    Fields inherited from class org.apache.sshd.client.channel.ChannelSession

    pumper, pumperService

    Fields inherited from class org.apache.sshd.client.channel.AsyncCapableClientChannel

    withErrorStream

    Fields inherited from class org.apache.sshd.client.channel.AbstractClientChannel

    asyncErr, asyncIn, asyncOut, err, exitSignalHolder, exitStatusHolder, in, invertedErr, invertedIn, invertedOut, opened, openFailureLang, openFailureMsg, openFailureReason, openFuture, out, redirectErrorStream, streaming

    Fields inherited from class org.apache.sshd.common.channel.AbstractChannel

    channelListenerProxy, channelListeners, closeSignaled, DEFAULT_PACKET_VALIDATOR, eofReceived, eofSent, gracefulFuture, gracefulState, initialized, RESPONSE_BUFFER_GROWTH_FACTOR, service, unregisterSignaled

    Fields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    closeFuture, futureLock, state

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log

    Fields inherited from interface org.apache.sshd.common.channel.Channel

    CHANNEL_EXEC, CHANNEL_SHELL, CHANNEL_SUBSYSTEM

    Fields inherited from interface org.apache.sshd.common.channel.throttle.ChannelStreamWriterResolver

    NONE

    Fields inherited from interface org.apache.sshd.common.PropertyResolver

    EMPTY
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.sshd.common.channel.ChannelAsyncOutputStream
    createAsyncInput(org.apache.sshd.common.session.Session session)
     
    protected OutputStream
    createErrOutputStream(org.apache.sshd.common.session.Session session)
     
    protected OutputStream
    createStdOutputStream(org.apache.sshd.common.session.Session session)
     
    protected void
     

    Methods inherited from class org.apache.sshd.client.channel.ChannelSubsystem

    getSubsystem, handleFailure, handleSuccess, onClose, toString

    Methods inherited from class org.apache.sshd.client.channel.ChannelSession

    handleInternalRequest, handleXonXoff, sendEnvVariables, setEnv

    Methods inherited from class org.apache.sshd.client.channel.AsyncCapableClientChannel

    closeImmediately0, doWriteExtendedData, getAsyncErr, getErr, getInnerCloseable, getInvertedErr, pumpInputStream, securedRead, setErr

    Methods inherited from class org.apache.sshd.client.channel.AbstractClientChannel

    addChannelSignalRequestHandlers, doWriteData, getAsyncIn, getAsyncOut, getChannelState, getChannelType, getExitSignal, getExitStatus, getIn, getInvertedIn, getInvertedOut, getOut, getStreaming, handleOpenFailure, handleOpenSuccess, handleWindowAdjust, isRedirectErrorStream, mayWrite, open, open, setIn, setOut, setRedirectErrorStream, setStreaming, updateCurrentChannelState, waitFor

    Methods inherited from class org.apache.sshd.common.channel.AbstractChannel

    addChannelListener, addPendingRequest, addRequestHandler, attributeKeys, clearAttributes, computeAttributeIfAbsent, configureWindow, getAttribute, getAttributesCount, getChannelId, getChannelListenerProxy, getChannelStreamWriterResolver, getExecutorService, getLocalWindow, getPacketValidator, getParentPropertyResolver, getProperties, getRecipient, getRemoteWindow, getRequestHandlers, getSession, handleChannelRegistrationResult, handleChannelRequest, handleChannelUnregistration, handleClose, handleData, handleEof, handleExtendedData, handleRequest, handleUnknownChannelRequest, init, invokeChannelSignaller, isEofSent, isEofSignalled, isInitialized, notifyStateChanged, notifyStateChanged, preClose, removeAttribute, removeChannelListener, removePendingRequest, removeRequestHandler, resolveChannelStreamWriterResolver, sendEof, sendResponse, sendWindowAdjust, setAttribute, setChannelStreamWriterResolver, setPacketValidator, setRecipient, signalChannelClosed, signalChannelClosed, signalChannelInitialized, signalChannelInitialized, signalChannelOpenFailure, signalChannelOpenFailure, signalChannelOpenSuccess, signalChannelOpenSuccess, validateIncomingDataSize, writePacket

    Methods inherited from class org.apache.sshd.common.util.closeable.AbstractInnerCloseable

    doCloseGracefully, doCloseImmediately

    Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable

    addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, removeCloseFutureListener

    Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.AttributeRepository

    attributeKeys, getAttribute, getAttributesCount

    Methods inherited from interface org.apache.sshd.common.AttributeStore

    clearAttributes, computeAttributeIfAbsent, removeAttribute, setAttribute

    Methods inherited from interface org.apache.sshd.common.channel.Channel

    addRequestHandler, addRequestHandlers, getLocalWindow, getRecipient, getRemoteWindow, getRequestHandlers, handleChannelRegistrationResult, handleChannelUnregistration, handleClose, handleData, handleEof, handleExtendedData, handleRequest, init, isEofSignalled, isInitialized, removeRequestHandler, removeRequestHandlers, resolveAttribute, writePacket

    Methods inherited from interface org.apache.sshd.common.channel.ChannelIdentifier

    getChannelId

    Methods inherited from interface org.apache.sshd.common.channel.ChannelListenerManager

    addChannelListener, getChannelListenerProxy, removeChannelListener

    Methods inherited from interface org.apache.sshd.common.channel.throttle.ChannelStreamWriterResolverManager

    getChannelStreamWriterResolver, resolveChannelStreamWriter, resolveChannelStreamWriterResolver, setChannelStreamWriterResolver

    Methods inherited from interface org.apache.sshd.client.channel.ClientChannel

    getClientSession, waitFor

    Methods inherited from interface org.apache.sshd.common.Closeable

    addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener

    Methods inherited from interface org.apache.sshd.common.PropertyResolver

    getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getParentPropertyResolver, getProperties, getString, getStringProperty, isEmpty

    Methods inherited from interface org.apache.sshd.common.session.SessionHolder

    getSession, getSessionContext
  • Constructor Details

    • SftpChannelSubsystem

      protected SftpChannelSubsystem()
  • Method Details

    • doOpen

      protected void doOpen() throws IOException
      Overrides:
      doOpen in class org.apache.sshd.client.channel.ChannelSubsystem
      Throws:
      IOException
    • createAsyncInput

      protected org.apache.sshd.common.channel.ChannelAsyncOutputStream createAsyncInput(org.apache.sshd.common.session.Session session)
    • createStdOutputStream

      protected OutputStream createStdOutputStream(org.apache.sshd.common.session.Session session)
    • createErrOutputStream

      protected OutputStream createErrOutputStream(org.apache.sshd.common.session.Session session)