Class VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse

java.lang.Object
net.bytebuddy.agent.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse
All Implemented Interfaces:
Closeable, AutoCloseable, VirtualMachine.ForHotSpot.Connection.Response
Enclosing class:
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe

protected static class VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse extends Object implements VirtualMachine.ForHotSpot.Connection.Response
A response that is sent via a named pipe.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final com.sun.jna.platform.win32.WinNT.HANDLE
    A handle of the named pipe.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    NamedPipeResponse(com.sun.jna.platform.win32.WinNT.HANDLE pipe)
    Creates a new response via a named pipe.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    int
    read(byte[] buffer)
    Reads a buffer from the target VM.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pipe

      private final com.sun.jna.platform.win32.WinNT.HANDLE pipe
      A handle of the named pipe.
  • Constructor Details

    • NamedPipeResponse

      protected NamedPipeResponse(com.sun.jna.platform.win32.WinNT.HANDLE pipe)
      Creates a new response via a named pipe.
      Parameters:
      pipe - The handle of the named pipe.
  • Method Details