public class SftpConnectedEvent extends SftpEvent
Constructor and Description |
---|
SftpConnectedEvent(Sftp source,
java.lang.String hostname,
int port)
Creates a new event instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SftpListener listener)
The "backwards dispatching" support.
|
java.lang.String |
getHostname()
Gets the SSH server hostname.
|
int |
getPort() |
public SftpConnectedEvent(Sftp source, java.lang.String hostname, int port)
source
- the source of the eventhostname
- the hostname of the SSH serverpublic java.lang.String getHostname()
public int getPort()
public void accept(SftpListener listener)
Copyright © JSCAPE LLC. 1999-2023. All Rights Reserved