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,Connector
JNA-based implementation of communication through a Unix domain socket.
-
Field Summary
FieldsFields 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, toLength
-
Field Details
-
DESCRIPTOR
-
-
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
-