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
    Modifier and Type
    Field
    Description
    private final com.sun.jna.platform.win32.WinNT.HANDLE
    The child handle.
    private final com.sun.jna.platform.win32.WinNT.HANDLE
    The parent handle.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AttachmentHandle(com.sun.jna.platform.win32.WinNT.HANDLE parent, com.sun.jna.platform.win32.WinNT.HANDLE child)
    Creates a new attachment handle.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    protected com.sun.jna.platform.win32.WinNT.HANDLE
    Returns the handle on which signals are to be sent.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • parent

      private final com.sun.jna.platform.win32.WinNT.HANDLE parent
      The parent handle.
    • child

      private final com.sun.jna.platform.win32.WinNT.HANDLE child
      The 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 interface AutoCloseable
      Specified by:
      close in interface Closeable