Interface MessageHandler

All Known Implementing Classes:
AuthenticationManager, ChannelManager, KexManager

public interface MessageHandler
MessageHandler.
Version:
$Id : MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
  • Method Summary

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

    • handleMessage

      void handleMessage(byte[] msg, int msglen) throws IOException
      Handle message.
      Parameters:
      msg - the msg
      msglen - the msglen
      Throws:
      IOException - the io exception
    • 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 - the io exception