Public Member Functions | |
void | addThreadedBehaviour (Behaviour b) |
synchronized void | sendRequest (ContentElement content) |
synchronized Object | sendRequest (Behaviour behaviour, ContentElement content) |
boolean | sendResponse (Socket client, SocketMessage sm) |
synchronized void | log (String str, Color color) |
AsctR | getAsctR () |
synchronized void | addRemoteExecution (String appMainRequestId, String deviceId, String appName, Integer numberCopies) |
synchronized String | getAppName (String appId) |
synchronized String | getAppDevice (String appId) |
synchronized void | removeRemoteExecution (String appMainRequestId) |
void | acceptedExecutionRequest (OfferSpecs offSpecs) |
void | refusedExecutionRequest (AsctRequestId asctRequestId) |
void | appFinished (AsctRequestId asctRequestId) |
void | addRegisteredApp (String arg0, String arg1, String arg2) |
Static Public Attributes | |
static final int | DEFAULT_PORT = 7000 |
static final String | MOBILE_PROXY_AGENT_NAME = "mpa" |
Protected Member Functions | |
void | setup () |
void | takeDown () |
Private Attributes | |
boolean | debuggingMode = true |
ThreadedBehaviourFactory | tbf = new ThreadedBehaviourFactory() |
AsctR | asctR |
HashMap | remoteExecutions |
HashMap | executionNames |
HashMap | executionCopyNumbers |
ContentManager | manager = getContentManager() |
Codec | codec = new LEAPCodec() |
Ontology | ontology = MobileProxyOntology.getInstance() |
|
|
|
|
|
(non-Javadoc) Associate the appMainRequestId of submmited applications with the device ID and with your appName, to send correctly the Grid responses later
|
|
Create a diferente thread when adding behaviour to agent
|
|
|
|
|
|
|
|
Get the instance of the ASCTR
|
|
Prints in the MobileProxyControlCenter window the strings passed
|
|
|
|
Remove the association made with addRemoteExecution
|
|
Create the ACL message and send to DatabaseAgent
|
|
Create the ACL message and send to DatabaseAgent
|
|
Send the response to mobile devices
|
|
First method invoked by the mobile agent plataform on an agent when it is instantiated
|
|
Invoked before the agent's death |
|
|
|
|
|
|
|
Default MobileproxyAgent server socket port |
|
|
|
|
|
|
|
MobileproxyAgent default name |
|
|
|
|
|
|