| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final AtomicBoolean | |
| public static final ConnectorFactory. | |
| private static final int | |
| private static final int | |
| private volatile WinNT. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public boolean | connect()
Implements org. Connects to an SSH agent if there is one running. |
| private int | |
| private void | |
| public byte[] | rpc(byte
to send command, byte[] to send; must have at least 5 bytes, and must have 5 unused
bytes at the front. message)Implements org. Performs a remote call to the SSH agent and returns the result. |
| private void |
| CANONICAL_PIPE_NAME | back to summary |
|---|---|
| private static final String CANONICAL_PIPE_NAME | |
| connected | back to summary |
|---|---|
| private final AtomicBoolean connected | |
| DESCRIPTOR | back to summary |
|---|---|
| public static final ConnectorFactory.
| |
| FILE_ATTRIBUTE_NONE | back to summary |
|---|---|
| private static final int FILE_ATTRIBUTE_NONE | |
| FILE_SHARE_NONE | back to summary |
|---|---|
| private static final int FILE_SHARE_NONE | |
| fileHandle | back to summary |
|---|---|
| private volatile WinNT. | |
| pipeName | back to summary |
|---|---|
| private final String pipeName | |
| WinPipeConnector | back to summary |
|---|---|
| public WinPipeConnector(String pipeName) Creates a
| |
| close | back to summary |
|---|---|
| public synchronized void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| connect | back to summary |
|---|---|
| public boolean connect() throws IOException Implements org. Doc from org. Connects to an SSH agent if there is one running. If called when already
connected just returns
| |
| read | back to summary |
|---|---|
| private int read(LibraryHolder libs, WinNT. | |
| readFully | back to summary |
|---|---|
| private void readFully(LibraryHolder libs, WinNT. | |
| rpc | back to summary |
|---|---|
| public byte[] rpc(byte command, byte[] message) throws IOException Implements org. Doc from org. Performs a remote call to the SSH agent and returns the result.
| |
| writeFully | back to summary |
|---|---|
| private void writeFully(LibraryHolder libs, WinNT. | |