Interface ErrorNotifiable

All Known Subinterfaces:
Channel, Channel.Direct, Channel.Forwarded, Service, Session, Session.Command, Session.Shell, Session.Subsystem
All Known Implementing Classes:
AbstractChannel, AbstractDirectChannel, AbstractForwardedChannel, AbstractService, ChannelInputStream, ChannelOutputStream, ConnectionImpl, DirectConnection, DirectTCPIPChannel, KeyExchanger, LocalPortForwarder.ForwardedChannel, RemotePortForwarder.ForwardedTCPIPChannel, SessionChannel, TransportImpl.NullService, UserAuthImpl, X11Forwarder.X11Channel

public interface ErrorNotifiable
API for classes that are capable of being notified on an error so they can cleanup.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Utility functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies this object of an error.
  • Method Details

    • notifyError

      void notifyError(SSHException error)
      Notifies this object of an error.