|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void connected(HttpConnectedEvent event)
event - a HttpConnectedEventHttpConnectedEventpublic void disconnected(HttpDisconnectedEvent event)
event - a HttpDisconnectedEventHttpDisconnectedEventpublic void progress(HttpProgressEvent event)
event - a HttpProgressEventHttpProgressEvent
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||