|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IpClientListener
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 |
---|
void connected(IpClientConnectedEvent event)
event
- a IpClientConnectedEvent
IpClientConnectedEvent
void disconnected(IpClientDisconnectedEvent event)
event
- a IpClientDisconnectedEvent
IpClientDisconnectedEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |