public class SshAgentSocketListener
extends java.lang.Object
| Constructor and Description |
|---|
SshAgentSocketListener(java.lang.String location,
KeyStore keystore)
Creates a new SshAgentSocketListener object.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
configureNewLocation()
Configure a new random port for the agent listener.
|
protected KeyStore |
getKeystore()
Gets the underlying keystore for this agent listener.
|
int |
getPort()
The current port of the agent listener
|
StartStopState |
getState()
Get the agent listeners state
|
static void |
main(java.lang.String[] args)
The main entry point for the application.
|
void |
start()
Starts the agent listener thread
|
void |
stop()
Stops the agent listener
|
public SshAgentSocketListener(java.lang.String location,
KeyStore keystore)
throws AgentNotAvailableException
location - the location of the listening agent. This should be a
random port on the localhost such as localhost:15342keystore - the keystore for agent operationAgentNotAvailableException - if the location specifies an invalid
locationpublic StartStopState getState()
public void start()
public int getPort()
public void stop()
protected KeyStore getKeystore()
public static int configureNewLocation()
public static void main(java.lang.String[] args)
args - the programs argumentsCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.