|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.util.AbstractTimeProviderErrorStrategy
de.unikassel.android.sdcframework.service.ShutdownStrategy
public class ShutdownStrategy
Simple shutdown strategy in case of time provider synchronization errors.
| Field Summary | |
|---|---|
private static String |
SYNC_ERROR
The sync error message. |
| Constructor Summary | |
|---|---|
ShutdownStrategy()
Constructor |
|
| Method Summary | |
|---|---|
void |
finalize(Context context)
Does finalize the strategy. |
boolean |
handleTimeErrorEvent(TimeErrorEvent event,
ServiceManager serviceManager)
Handler for error events (e.g. |
void |
prepare(Context context)
Does prepare the strategy. |
| Methods inherited from class de.unikassel.android.sdcframework.util.AbstractTimeProviderErrorStrategy |
|---|
getDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String SYNC_ERROR
| Constructor Detail |
|---|
public ShutdownStrategy()
| Method Detail |
|---|
public final boolean handleTimeErrorEvent(TimeErrorEvent event,
ServiceManager serviceManager)
TimeProviderErrorStrategy
event - the error eventserviceManager - the service manager
public final void prepare(Context context)
TimeProviderErrorStrategy
context - the application contextpublic final void finalize(Context context)
TimeProviderErrorStrategy
context - the application context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||