public class HandlerManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static Handler[] |
handlers
Reference to
Handler entries being instantiated |
static int |
max_handlers
maximum number of handlers supported so far
|
| Constructor and Description |
|---|
HandlerManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createHandlers(Context nors)
Creates
Handler entries at the start of the remote or local service |
static void |
destroyHandlers()
Destroys the instantiated
Handler instances |
static boolean |
readRMS_b(String store,
boolean defaultint)
Read boolean variable from RMS for persistency
|
static int |
readRMS_i(String store,
int defaultint)
Read int variable from RMS for persistency
|
static long |
readRMS_l(String store,
long defaultint)
Read long variable from RMS for persistency
|
static String |
readRMS(String store,
String defaultString)
Read string from RMS for persistency
|
static void |
writeRMS_b(String store,
boolean value)
Write boolean variable to RMS for persistency
|
static void |
writeRMS_l(String store,
long value)
Write long variable to RMS for persistency
|
static void |
writeRMS(String store,
String value)
Write string variable to RMS for persistency
|
public static final int max_handlers
public static boolean createHandlers(Context nors)
Handler entries at the start of the remote or local servicenors - Reference to the Context of the calling activitypublic static void destroyHandlers()
Handler instancespublic static String readRMS(String store, String defaultString)
store - Entry in RMS storedefaultString - Default entry for this entry if it does not exist in storepublic static long readRMS_l(String store, long defaultint)
store - Entry in RMS storedefaultint - Default entry for this entry if it does not exist in storepublic static int readRMS_i(String store, int defaultint)
store - Entry in RMS storedefaultint - Default entry for this entry if it does not exist in storepublic static boolean readRMS_b(String store, boolean defaultint)
store - Entry in RMS storedefaultint - Default entry for this entry if it does not exist in storepublic static void writeRMS(String store, String value)
store - Entry in RMS storevalue - Value for this entrypublic static void writeRMS_b(String store, boolean value)
store - Entry in RMS storevalue - Value for this entrypublic static void writeRMS_l(String store, long value)
store - Entry in RMS storevalue - Value for this entry