Class AbstractChannel.GracefulChannelCloseable

All Implemented Interfaces:
Closeable, AutoCloseable, Channel, Closeable
Enclosing class:
AbstractChannel

public class AbstractChannel.GracefulChannelCloseable extends IoBaseCloseable
  • Constructor Details

    • GracefulChannelCloseable

      public GracefulChannelCloseable()
  • Method Details

    • addCloseFutureListener

      public void addCloseFutureListener(SshFutureListener<CloseFuture> listener)
    • removeCloseFutureListener

      public void removeCloseFutureListener(SshFutureListener<CloseFuture> listener)
    • isClosing

      public boolean isClosing()
    • setClosing

      public void setClosing(boolean on)
    • isClosed

      public boolean isClosed()
    • close

      public CloseFuture close(boolean immediately)
    • handleClosePacketWritten

      protected void handleClosePacketWritten(Channel channel, boolean immediately)
    • handleClosePacketWriteFailure

      protected void handleClosePacketWriteFailure(Channel channel, boolean immediately, Throwable t)
    • toString

      public String toString()
      Overrides:
      toString in class Object