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

public class UnixDomainSocketConnector extends org.eclipse.jgit.transport.sshd.agent.AbstractConnector
JNA-based implementation of communication through a Unix domain socket.
  • Field Summary

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

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

    DEFAULT_MAX_REPLY_LENGTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • 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 UnixDomainSocketConnector.
  • Constructor Details

    • UnixDomainSocketConnector

      public UnixDomainSocketConnector(String socketFile)
      Creates a new instance.
      Parameters:
      socketFile - to use; if null or empty, use environment variable SSH_AUTH_SOCK
  • Method Details