protected static interface VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary extends 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.
|
Library.HandlerOPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER| 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 LastErrorException
processId - The target process's id.signal - The signal to send.LastErrorException - If an error occurred while sending the signal.int open(String file, int flags) throws LastErrorException
file - The file name.flags - the flags for opening.LastErrorException - If the file could not be opened.int read(int handle,
ByteBuffer buffer,
int length)
throws LastErrorException
handle - The handle representing the source being read.buffer - The buffer to read to.length - The buffer length.LastErrorException - If a read operation failed.int close(int descriptor) throws LastErrorException
descriptor - The descriptor to release.LastErrorException - If the descriptor could not be closed.int door_call(int descriptor,
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument argument)
throws LastErrorException
descriptor - The door's descriptor.argument - A pointer to the argument.LastErrorException - If the door call failed.Copyright © 2014–2021. All rights reserved.