Class WinPipeConnector
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
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.jgit.transport.sshd.agent.ConnectorFactory.ConnectorDescriptorConnectorFactory.ConnectorDescriptorfor thePageantConnector.Fields inherited from class org.eclipse.jgit.transport.sshd.agent.AbstractConnector
DEFAULT_MAX_REPLY_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionWinPipeConnector(String pipeName) Creates aWinPipeConnectorfor the given named pipe. -
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 thePageantConnector.
-
-
Constructor Details
-
WinPipeConnector
Creates aWinPipeConnectorfor the given named pipe.- Parameters:
pipeName- to connect to
-
-
Method Details
-
connect
- Throws:
IOException
-
close
- Throws:
IOException
-
rpc
- Throws:
IOException
-