Class VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe

    • Method Detail

      • createSecurityAttributesToAllowMediumIntegrity

        private com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES createSecurityAttributesToAllowMediumIntegrity()
        Custom WinBase.SECURITY_ATTRIBUTES is required here to "get" Medium Integrity Level. In order to allow Medium Integrity Level clients to open and use a NamedPipe created by an High Integrity Level process.
        Returns:
        A security attributes object that gives everyone read and write access.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable