public static interface VirtualMachine.ForHotSpotVm.Connection extends Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
VirtualMachine.ForHotSpotVm.Connection.Factory
A factory for creating connections to virtual machines.
|
static class |
VirtualMachine.ForHotSpotVm.Connection.ForJnaPosixSocket
Implements a connection for a Posix socket in JNA.
|
Modifier and Type | Method and Description |
---|---|
int |
read(byte[] buffer)
Reads from the connected virtual machine.
|
void |
write(byte[] buffer)
Writes to the connected virtual machine.
|
int read(byte[] buffer) throws IOException
buffer
- The buffer to read from.IOException
- If an I/O exception occurs during reading.void write(byte[] buffer) throws IOException
buffer
- The buffer to write to.IOException
- If an I/O exception occurs during writing.Copyright © 2014–2019. All rights reserved.