java.lang.Object
org.eclipse.jgit.transport.sshd.agent.AbstractConnector
org.eclipse.jgit.internal.transport.sshd.agent.connector.WinPipeConnector
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jgit.transport.sshd.agent.Connector

public class WinPipeConnector extends org.eclipse.jgit.transport.sshd.agent.AbstractConnector
A connector based on JNA using Windows' named pipes to communicate with an ssh agent. This is used by Microsoft's Win32-OpenSSH port.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.eclipse.jgit.transport.sshd.agent.ConnectorFactory.ConnectorDescriptor
    ConnectorFactory.ConnectorDescriptor for the PageantConnector.

    Fields inherited from class org.eclipse.jgit.transport.sshd.agent.AbstractConnector

    DEFAULT_MAX_REPLY_LENGTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a WinPipeConnector for the given named pipe.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    byte[]
    rpc(byte command, byte[] message)
     

    Methods inherited from class org.eclipse.jgit.transport.sshd.agent.AbstractConnector

    getMaximumMessageLength, prepareMessage, toLength

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jgit.transport.sshd.agent.Connector

    rpc
  • Field Details

    • DESCRIPTOR

      public static final org.eclipse.jgit.transport.sshd.agent.ConnectorFactory.ConnectorDescriptor DESCRIPTOR
      ConnectorFactory.ConnectorDescriptor for the PageantConnector.
  • Constructor Details

    • WinPipeConnector

      public WinPipeConnector(String pipeName)
      Creates a WinPipeConnector for the given named pipe.
      Parameters:
      pipeName - to connect to
  • Method Details