protected static class VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse extends Object implements VirtualMachine.ForHotSpot.Connection.Response
| Modifier | Constructor and Description |
|---|---|
protected |
NamedPipeResponse(com.sun.jna.platform.win32.WinNT.HANDLE pipe)
Creates a new response via a named pipe.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read(byte[] buffer)
Reads a buffer from the target VM.
|
protected NamedPipeResponse(com.sun.jna.platform.win32.WinNT.HANDLE pipe)
pipe - The handle of the named pipe.public int read(byte[] buffer)
read in interface VirtualMachine.ForHotSpot.Connection.Responsebuffer - The buffer to read to.-1 if no more bytes could be read.public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2025. All rights reserved.