protected static interface VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument
A structure representing the argument to a Solaris door operation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
close(int descriptor)
Releases a descriptor.
|
int |
door_call(int descriptor,
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument argument)
Executes a door call.
|
int |
kill(int processId,
int signal)
Sends a kill signal to the target VM.
|
int |
open(String file,
int flags)
Opens a file.
|
int |
read(int handle,
ByteBuffer buffer,
int length)
Reads from a handle.
|
int kill(int processId,
int signal)
throws com.sun.jna.LastErrorException
processId - The target process's id.signal - The signal to send.com.sun.jna.LastErrorException - If an error occurred while sending the signal.int open(String file, int flags) throws com.sun.jna.LastErrorException
file - The file name.flags - the flags for opening.com.sun.jna.LastErrorException - If the file could not be opened.int read(int handle,
ByteBuffer buffer,
int length)
throws com.sun.jna.LastErrorException
handle - The handle representing the source being read.buffer - The buffer to read to.length - The buffer length.com.sun.jna.LastErrorException - If a read operation failed.int close(int descriptor) throws com.sun.jna.LastErrorException
descriptor - The descriptor to release.com.sun.jna.LastErrorException - If the descriptor could not be closed.int door_call(int descriptor,
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument argument)
throws com.sun.jna.LastErrorException
descriptor - The door's descriptor.argument - A pointer to the argument.com.sun.jna.LastErrorException - If the door call failed.Copyright © 2014–2025. All rights reserved.