|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpListener
Implements methods for capturing events sourced from Http class. Typicaly
your application will implement this interface to capture the following
events :
HttpConnectedEvent
HttpDisconnectedEvent
HttpProgressEvent
In addition to implementing this interface your application should register
itself as an EventListener which may look somewhat like this:
public class Application ... implements HttpListener { ... public ... initMethod(...) { Http http = new Http(); http.addHttpListener(this); } ... }
Method Summary | |
---|---|
void |
connected(HttpConnectedEvent event)
Invoked when connection to Http server is established. |
void |
disconnected(HttpDisconnectedEvent event)
Invoked when connection to Http server is released. |
void |
progress(HttpProgressEvent event)
Invoked to mark progress of a download or upload operation. |
Method Detail |
---|
void connected(HttpConnectedEvent event)
event
- a HttpConnectedEvent
HttpConnectedEvent
void disconnected(HttpDisconnectedEvent event)
event
- a HttpDisconnectedEvent
HttpDisconnectedEvent
void progress(HttpProgressEvent event)
event
- a HttpProgressEvent
HttpProgressEvent
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |