|
Public Member Functions |
boolean | registerAgent (MagAgent magAgent, String appId, String appMainRequestId, String appNodeRequestId, String appConstraints, String appPreferences, String asctIor, ArrayList outputFiles) |
boolean | unregisterAgent (String appId) |
void | executeApp (String applicationId, String appArgs, String asctIor, String appMainRequestId, String appNodeRequestId, String appConstraints, String appPreferences, String[] outputFiles) |
void | restoreApp (String appExecutionId, String applicationId, String appName, String appArgs, String asctIor, String appMainRequestId, String appNodeRequestId, String appConstraints, String appPreferences, String[] outputFiles) |
void | releaseNode () |
Agent | getAgent (String execId) |
subtypes.FileStruct[] | requestOutputFiles (String appId) |
void | appFinished (String appId) |
void | kill (String appId) |
ThreadAwareOutputStream | requestOutputStream () |
ThreadAwareOutputStream | requestErrorStream () |
Static Public Member Functions |
static AgentHandlerImpl | getInstance () |
Package Functions |
| AgentHandlerImpl (String file) |
Private Member Functions |
void | cleanup () |
void | removeDirectory (File directory) |
Private Attributes |
String | ipMainContainer = "" |
String | myIor = "" |
String | iorFile = "" |
AgentContainer | ac |
HashMap | map |
ThreadAwareOutputStream | out = null |
ThreadAwareOutputStream | err = null |
Static Private Attributes |
static AgentHandlerImpl | instance = null |
The AgentHandler acts as a mobile agent container, becoming transparent to the grid, the existence of mobile agents.