Interface MessageHandler

All Known Implementing Classes:
AuthenticationManager, ChannelManager, KexManager

public interface MessageHandler
MessageHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to inform that no more messages will be delivered.
    void
    handleMessage(byte[] msg, int msglen)
     
  • Method Details

    • handleMessage

      void handleMessage(byte[] msg, int msglen) throws IOException
      Throws:
      IOException
    • handleEndMessage

      void handleEndMessage(Throwable cause) throws IOException
      Called to inform that no more messages will be delivered.
      Parameters:
      cause - For diagnosis, the reason that caused the transport to close down.
      Throws:
      IOException