Package net.bytebuddy.agent
Interface VirtualMachine.ForHotSpot.Connection.Response
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
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
-1
if no more bytes could be read. - Throws:
IOException
- If an I/O exception occurred.
-