|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.util.BasicConnectionListener
public class BasicConnectionListener
the simplest conneection handler ever. just save the config
Constructor Summary | |
---|---|
BasicConnectionListener()
|
Method Summary | |
---|---|
void |
connectionClosed()
Notify that a previously opened connection has been closed |
void |
connectionConfigurationChanged()
Notify that the connection configuration is changed |
void |
connectionOpened()
Notify that a connection was succesfully opened |
boolean |
isConnectionConfigurationAllowed(java.lang.String config)
Check if the connection configuration is allowed |
void |
requestWritten()
Notify that a data request was succesfully written on the connection stream |
void |
responseReceived()
Notify that a response was received after the request was sent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicConnectionListener()
Method Detail |
---|
public boolean isConnectionConfigurationAllowed(java.lang.String config)
isConnectionConfigurationAllowed
in interface ConnectionListener
config
- is the configuration to be checked
public void connectionOpened()
connectionOpened
in interface ConnectionListener
public void requestWritten()
requestWritten
in interface ConnectionListener
public void responseReceived()
responseReceived
in interface ConnectionListener
public void connectionClosed()
connectionClosed
in interface ConnectionListener
public void connectionConfigurationChanged()
ConnectionListener
connectionConfigurationChanged
in interface ConnectionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |