protected static class VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Response extends Object implements VirtualMachine.ForHotSpot.Connection.Response
Modifier | Constructor and Description |
---|---|
protected |
Response(VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary library,
int handle)
Creates a response from a VM using a Solaris door.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read(byte[] buffer)
Reads a buffer from the target VM.
|
protected Response(VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary library, int handle)
library
- The Solaris library to use.handle
- The door handle.public int read(byte[] buffer)
read
in interface VirtualMachine.ForHotSpot.Connection.Response
buffer
- The buffer to read to.-1
if no more bytes could be read.public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2023. All rights reserved.