Package net.bytebuddy.agent
Interface VirtualMachine.ForHotSpot.Connection.Response
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Response
,VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse
- Enclosing interface:
- VirtualMachine.ForHotSpot.Connection
public static interface VirtualMachine.ForHotSpot.Connection.Response extends Closeable
A response to an execution command to a VM.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
read(byte[] buffer)
Reads a buffer from the target VM.
-
-
-
Method Detail
-
read
int read(byte[] buffer) throws IOException
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.
-
-