Class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment

    protected static class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle
    extends java.lang.Object
    implements java.io.Closeable
    A handle for an attachment which is represented by a pair of handles.
    • Field Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      protected com.sun.jna.platform.win32.WinNT.HANDLE getHandle()
      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 Detail

      • 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 Detail

      • 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 Detail

      • 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 java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable