Interface VirtualMachine.ForHotSpot.Connection.Response
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Response, VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse, VirtualMachine.ForHotSpot.Connection.OnPersistentByteChannel.Response
- Enclosing interface:
VirtualMachine.ForHotSpot.Connection
A response to an execution command to a VM.
-
Method Summary
-
Method Details
-
read
Reads a buffer from the target VM.- Parameters:
buffer- The buffer to read to.- Returns:
- The bytes read or
-1if no more bytes could be read. - Throws:
IOException- If an I/O exception occurred.
-