public static class VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor extends Object implements VirtualMachine.ForHotSpot.Connection
Modifier and Type | Class and Description |
---|---|
static class |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Factory
A factory for establishing a connection to a JVM using a Solaris door in JNA.
|
protected static class |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Response
A response from a VM using a Solaris door.
|
protected static interface |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary
A library for interacting with Solaris.
|
VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket, VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor, VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe, VirtualMachine.ForHotSpot.Connection.OnPersistentByteChannel<T>
Modifier | Constructor and Description |
---|---|
protected |
ForJnaSolarisDoor(VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary library,
File socket)
Creates a new connection using a Solaris door.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
VirtualMachine.ForHotSpot.Connection.Response |
execute(String protocol,
String... argument)
Executes a command on the current connection.
|
protected ForJnaSolarisDoor(VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary library, File socket)
library
- The library to use for interacting with Solaris.socket
- The socket used for communication.public VirtualMachine.ForHotSpot.Connection.Response execute(String protocol, String... argument) throws IOException
execute
in interface VirtualMachine.ForHotSpot.Connection
protocol
- The target VMs protocol version for the attach API.argument
- The arguments to send to the target VM.IOException
- If an I/O error occurred.public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2023. All rights reserved.