org.apache.ivy.plugins.repository.ssh
private class SshCache.Entry extends Object
| Constructor Summary | |
|---|---|
| Entry(Session newSession, String newUser, String newHost, int newPort) | |
| Method Summary | |
|---|---|
| ChannelSftp | getChannelSftp() |
| String | getHost() |
| int | getPort() |
| String | getUser() |
| void | releaseChannelSftp()
remove channelSftp and disconnect if necessary |
| void | setChannelSftp(ChannelSftp newChannel)
attach an sftp channel to this cache entry
|
Returns: the attached sftp channel
Returns: the host
Returns: the port
Returns: the user
Parameters: channelSftp to attach