cmu.survey.data
Interface TableStorage.SearchingForConnectionListener
- All Known Implementing Classes:
- TableStorageConnectionListener
- Enclosing interface:
- TableStorage
public static interface TableStorage.SearchingForConnectionListener
Recieves notifications of whether the TableStorage is currently unavailable and waiting for a new connection.
When the network goes down or the database connection becomes unavailable for any other reason, the UI may need
to be notified and to let the user decide whether or not to keep waiting.
This interface allows UI's or other parts to listen to that status.
startedSearchingForConnection
void startedSearchingForConnection()
stoppedSearchingForConnection
void stoppedSearchingForConnection()