Interface VirtualMachine.ForHotSpot.Connection.Response

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int read​(byte[] buffer)
      Reads a buffer from the target VM.
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • read

        int read​(byte[] buffer)
          throws java.io.IOException
        Reads a buffer from the target VM.
        Parameters:
        buffer - The buffer to read to.
        Returns:
        The bytes read or -1 if no more bytes could be read.
        Throws:
        java.io.IOException - If an I/O exception occurred.