|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Implements methods for capturing events sourced from Ssh class. Typicaly your application will implement this interface to capture the following events :
SshConnectedEventSshDisconnectedEventSshDataReceivedEvent
In addition to implementing this interface your application should register
itself as an EventListener which may look somewhat like this:
public class Application ... implements SshListener
{
...
public ... initMethod(...)
{
Ssh ssh = new Ssh(hostname,username,password);
ssh.addSshListener(this);
}
...
}
| Method Summary | |
void |
connected(SshConnectedEvent event)
Invoked when SSH connection is established. |
void |
dataReceived(SshDataReceivedEvent event)
Invoked when data is received from SSH server. |
void |
disconnected(SshDisconnectedEvent event)
Invoked when SSH connection is released. |
| Method Detail |
public void connected(SshConnectedEvent event)
event - a SshConnectedEventSshConnectedEventpublic void disconnected(SshDisconnectedEvent event)
event - a SshDisconnectedEventSshDisconnectedEventpublic void dataReceived(SshDataReceivedEvent event)
event - a SshDataReceivedEvent
|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||