public class SshConnectedEvent
extends SshEvent
Constructor and Description |
---|
SshConnectedEvent(Ssh source,
java.lang.String host,
int port)
Creates SshConnectedEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SshListener listener) |
java.lang.String |
getHost()
Gets host of SSH server.
|
int |
getPort()
Gets port of SSH server.
|
java.lang.String |
toString() |
public SshConnectedEvent(Ssh source, java.lang.String host, int port)
source
- the source of the eventhost
- the host of SSH serverport
- the port of SSH serverpublic java.lang.String getHost()
public int getPort()
public void accept(SshListener listener)
public java.lang.String toString()
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved