Class PageantLibrary.PipeImpl

java.lang.Object
org.eclipse.jgit.internal.transport.sshd.agent.connector.PageantLibrary.PipeImpl
All Implemented Interfaces:
Closeable, AutoCloseable, PageantLibrary.Pipe
Enclosing class:
PageantLibrary

private static class PageantLibrary.PipeImpl extends Object implements PageantLibrary.Pipe
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final com.sun.jna.platform.win32.WinNT.HANDLE
     
    private final LibraryHolder
     
    private final com.sun.jna.Pointer
     
    private final byte[]
     
    private long
     
    private final com.sun.jna.platform.win32.WinDef.HWND
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PipeImpl(LibraryHolder libs, com.sun.jna.platform.win32.WinDef.HWND window, String name, com.sun.jna.platform.win32.WinNT.HANDLE file, com.sun.jna.Pointer memory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    private com.sun.jna.Pointer
     
    void
    receive(byte[] data)
    Reads bytes from the pipe until data is full.
    void
    send(byte[] message)
    Send the given message.

    Methods inherited from class java.lang.Object

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

    • libs

      private final LibraryHolder libs
    • window

      private final com.sun.jna.platform.win32.WinDef.HWND window
    • name

      private final byte[] name
    • file

      private final com.sun.jna.platform.win32.WinNT.HANDLE file
    • memory

      private final com.sun.jna.Pointer memory
    • readPos

      private long readPos
  • Constructor Details

    • PipeImpl

      PipeImpl(LibraryHolder libs, com.sun.jna.platform.win32.WinDef.HWND window, String name, com.sun.jna.platform.win32.WinNT.HANDLE file, com.sun.jna.Pointer memory)
  • Method Details