com.jscape.inet.sftp.events
Class SftpDisconnectedEvent
java.lang.Object
com.jscape.inet.sftp.events.SftpEvent
com.jscape.inet.sftp.events.SftpDisconnectedEvent
- public final class SftpDisconnectedEvent
- extends SftpEvent
This event is fired when connection to SSH server is released.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpDisconnectedEvent
public SftpDisconnectedEvent(Sftp source,
java.lang.String host)
- Creates a new event instance.
- Parameters:
source - the source of the eventhost - the hostname of the SSH server
getHostname
public java.lang.String getHostname()
- Gets the SSH server hostname.
- Returns:
- the SSH server hostname
acceptListener
public void acceptListener(SftpListener listener)
- The "backwards dispatching" support.
- Specified by:
acceptListener in class SftpEvent
- Parameters:
listener - the event listener
Copyright JSCAPE 1999-2007 All Rights Reserved