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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPipeImpl(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
-
Field Details
-
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
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
init
-
send
Description copied from interface:PageantLibrary.PipeSend the given message.- Specified by:
sendin interfacePageantLibrary.Pipe- Parameters:
message- to send- Throws:
IOException- on errors
-
receive
Description copied from interface:PageantLibrary.PipeReads bytes from the pipe untildatais full.- Specified by:
receivein interfacePageantLibrary.Pipe- Parameters:
data- to read- Throws:
IOException- on errors
-