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 |
|---|---|
int |
read(byte[] buffer)
Reads a buffer from the target VM.
|
void |
release()
Releases this response.
|
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 release()
release in interface VirtualMachine.ForHotSpot.Connection.ResponseCopyright © 2014–2019. All rights reserved.