Class ChannelSession.CommandCloseable

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.server.channel.ChannelSession.CommandCloseable
All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable
Enclosing class:
ChannelSession

public class ChannelSession.CommandCloseable extends org.apache.sshd.common.util.closeable.IoBaseCloseable
Author:
Apache MINA SSHD Project
  • Field Summary

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

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCloseFutureListener(org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener)
     
    org.apache.sshd.common.future.CloseFuture
    close(boolean immediately)
     
    boolean
     
    boolean
     
    void
    removeCloseFutureListener(org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener)
     

    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 Object

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

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

    close, isOpen
  • Constructor Details

    • CommandCloseable

      public CommandCloseable()
  • Method Details

    • isClosed

      public boolean isClosed()
    • isClosing

      public boolean isClosing()
    • addCloseFutureListener

      public void addCloseFutureListener(org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener)
    • removeCloseFutureListener

      public void removeCloseFutureListener(org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener)
    • close

      public org.apache.sshd.common.future.CloseFuture close(boolean immediately)