Interface SftpErrorDataHandler

All Known Implementing Classes:
AbstractSftpClient, DefaultSftpClient
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SftpErrorDataHandler
Callback for any error stream data sent by the server
Author:
Apache MINA SSHD Project
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    errorData(byte[] buf, int start, int len)
    Receive binary data from server error stream
  • Field Details

  • Method Details

    • errorData

      void errorData(byte[] buf, int start, int len) throws IOException
      Receive binary data from server error stream
      Parameters:
      buf - The buffer of the incoming data
      start - Offset in buffer to read the data
      len - Available data in buffer
      Throws:
      IOException - If failed to receive incoming data