Class UnixDomainSocketConnector
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
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.jgit.transport.sshd.agent.ConnectorFactory.ConnectorDescriptorConnectorFactory.ConnectorDescriptorfor theUnixDomainSocketConnector.Fields inherited from class org.eclipse.jgit.transport.sshd.agent.AbstractConnector
DEFAULT_MAX_REPLY_LENGTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.transport.sshd.agent.AbstractConnector
getMaximumMessageLength, prepareMessage, toLengthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 DESCRIPTORConnectorFactory.ConnectorDescriptorfor theUnixDomainSocketConnector.
-
-
Constructor Details
-
UnixDomainSocketConnector
Creates a new instance.- Parameters:
socketFile- to use; ifnullor empty, use environment variable SSH_AUTH_SOCK
-
-
Method Details
-
connect
- Throws:
IOException
-
close
- Throws:
IOException
-
rpc
- Throws:
IOException
-