|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.agent.SshAgentSocketListener
DOCUMENT ME!
Constructor Summary | |
SshAgentSocketListener(java.lang.String location,
KeyStore keystore)
Creates a new SshAgentSocketListener object. |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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 operation
AgentNotAvailableException
- if the location specifies an invalid locationMethod Detail |
public 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 arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |