|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jscape.inet.ssh.SshConnector
public class SshConnector
SSH connector.
| Constructor Summary | |
|---|---|
SshConnector(SshConfiguration configuration,
ConnectionParameters connectionParameters,
User user,
ChannelRequest channelRequest)
Creates a new connector instance. |
|
| Method Summary | |
|---|---|
void |
close()
Closes connector. |
java.lang.String |
getAddress()
Returns connector address. |
ChannelRequest |
getChannelRequest()
Returns current channel request. |
SshConfiguration |
getConfiguration()
Returns current configuration. |
ConnectionParameters |
getConnectionParameters()
Returns current connection parameters. |
int |
getPort()
Returns connector port. |
long |
getTimeout()
Returns connector timeout. |
User |
getUser()
Returns current user. |
boolean |
isClosed()
|
com.jscape.inet.util.connection.Connection |
openConnection()
Opens connection. |
void |
setChannelRequest(ChannelRequest channelRequest)
Sets channel request. |
void |
setTimeout(long timeout)
Setups connector timeout. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SshConnector(SshConfiguration configuration,
ConnectionParameters connectionParameters,
User user,
ChannelRequest channelRequest)
throws java.io.IOException
configuration - configurationconnectionParameters - connection parametersuser - userchannelRequest - channel request
java.io.IOException - if an I/O error occurs| Method Detail |
|---|
public SshConfiguration getConfiguration()
public ConnectionParameters getConnectionParameters()
public User getUser()
public ChannelRequest getChannelRequest()
public void setChannelRequest(ChannelRequest channelRequest)
channelRequest - channel requestpublic java.lang.String getAddress()
com.jscape.inet.util.connection.Connector
getAddress in interface com.jscape.inet.util.connection.ConnectorConnector.getAddress()public int getPort()
com.jscape.inet.util.connection.Connector
getPort in interface com.jscape.inet.util.connection.ConnectorConnector.getPort()public long getTimeout()
com.jscape.inet.util.connection.Connector
getTimeout in interface com.jscape.inet.util.connection.ConnectorConnector.getTimeout()
public void setTimeout(long timeout)
throws java.io.IOException
com.jscape.inet.util.connection.Connector
setTimeout in interface com.jscape.inet.util.connection.Connectortimeout - new timeout value
java.io.IOException - if an error occursConnector.setTimeout(long)public boolean isClosed()
Connection.isClosed()
public com.jscape.inet.util.connection.Connection openConnection()
throws java.io.IOException
com.jscape.inet.util.connection.Connector
openConnection in interface com.jscape.inet.util.connection.Connectorjava.io.IOException - if an I/O error occursConnector.openConnection()public void close()
com.jscape.inet.util.connection.Connector
close in interface com.jscape.inet.util.connection.ConnectorConnector.close()
|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||