|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Implements methods for capturing connected and disconnected events from IpClient class. Your application should implement this interface to capture these events.
public class Application ... implements IpClientListener
{
...
public ... initMethod(...)
{
IpClient client = new IpClient(hostname,port);
client.addIpClientListener(this);
}
...
}
| Method Summary | |
void |
connected(IpClientConnectedEvent event)
Invoked when connection to server is established. |
void |
disconnected(IpClientDisconnectedEvent event)
Invoked when connection to server is closed. |
| Method Detail |
public void connected(IpClientConnectedEvent event)
event - a IpClientConnectedEventIpClientConnectedEventpublic void disconnected(IpClientDisconnectedEvent event)
event - a IpClientDisconnectedEventIpClientDisconnectedEvent
|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||