Package net.bytebuddy.agent
Class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle
java.lang.Object
net.bytebuddy.agent.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment
protected static class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle
extends Object
implements Closeable
A handle for an attachment which is represented by a pair of handles.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttachmentHandle
(com.sun.jna.platform.win32.WinNT.HANDLE parent, com.sun.jna.platform.win32.WinNT.HANDLE child) Creates a new attachment handle. -
Method Summary
-
Field Details
-
parent
private final com.sun.jna.platform.win32.WinNT.HANDLE parentThe parent handle. -
child
private final com.sun.jna.platform.win32.WinNT.HANDLE childThe child handle.
-
-
Constructor Details
-
AttachmentHandle
protected AttachmentHandle(com.sun.jna.platform.win32.WinNT.HANDLE parent, com.sun.jna.platform.win32.WinNT.HANDLE child) Creates a new attachment handle.- Parameters:
parent
- The parent handle.child
- The child handle.
-
-
Method Details
-
getHandle
protected com.sun.jna.platform.win32.WinNT.HANDLE getHandle()Returns the handle on which signals are to be sent.- Returns:
- The handle on which signals are to be sent.
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-