|
Public Member Functions |
synchronized void | log (String str, Color color) |
boolean | isDeviceRegistered (String deviceId) |
boolean | isModelRegistered (String modelId) |
void | registerDevice (String deviceId, String modelId) |
void | removeDevice (String deviceId) |
void | registerModel (String modelId, String sizeX, String sizeY, String depthColor, String maxPowerCPU) |
void | removeModel (String modelId) |
void | setPCEDevice (String deviceId, PCE pce) |
boolean | isDeviceOnline (String deviceId) |
void | deviceIsOnline (String deviceId) |
void | deviceIsOffline (String deviceId) |
ArrayList | getAppsFinished (String deviceId) |
ArrayList | getRegisteredModels () |
ArrayList | getRegisteredDevices () |
void | removeAppsFinished (String deviceId) |
void | removeApp (String deviceId, String applicationId) |
void | changeAppToFinished (String deviceId, String applicationId) |
void | storeSubmissionApplication (String deviceId, Application app) |
PCE | getPCEDevice (String deviceId) |
void | setBateryState (String deviceId, String batteryState) |
String | getBatteryState (String deviceId) |
Static Public Attributes |
static final String | DATABASE_AGENT_NAME = "dba" |
Protected Member Functions |
void | setup () |
Private Member Functions |
Model | getModel (Node node) |
Device | getDevice (Node node) |
String | getBatteryState (Node node) |
Node | createDeviceXML (String deviceId, String model) |
Node | createModelXML (String model, String sizeX, String sizeY, String depthColor, String maxPowerCPU) |
Node | createSubmissionXML (String id) |
String | getStateDevice (Node node) |
PCE | getPCE (Node node) |
Application | getSubmission (Node node) |
void | updateDevice (String xupdate) throws XMLDBException |
void | updateSubmission (String xupdate) throws XMLDBException |
void | update (Collection col, String xupdate) throws XMLDBException |
ResourceSet | queryDevice (String xquery) throws XMLDBException |
ResourceSet | queryModel (String xquery) throws XMLDBException |
ResourceSet | querySubmission (String xquery) throws XMLDBException |
ResourceSet | query (Collection col, String xquery) throws XMLDBException |
String | getChildTagValue (Element elem, String tagName) |
Private Attributes |
boolean | debuggingMode = true |
ContentManager | manager = getContentManager() |
Codec | codec = new LEAPCodec() |
Ontology | ontology = MobileProxyOntology.getInstance() |
Collection | colDevice = null |
Collection | colModel = null |
Collection | colSubmission = null |
DocumentBuilder | db = null |
Static Private Attributes |
static final String | DEVICE_DATA_BASE = "DeviceDataBase" |
static final String | MODEL_DATA_BASE = "ModelDataBase" |
static final String | SUBMISSION_DATA_BASE = "SubmissionDataBase" |