@POPClass(classId=2, className="CodeMgr", deconstructor=true) public class POPCodeManager extends POPRemoteLog
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL_PLATFORMS |
definedMethodId, generateClassId, od, refCount| Constructor and Description |
|---|
POPCodeManager()
Default constructor of POPCodeManager.
|
POPCodeManager(java.lang.String challenge)
Constructor of POPCodeManager with challenge string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPlatform(java.lang.String objname,
POPString platform)
Query the CodeMgr to know the platforms of a specific object
|
int |
queryCode(java.lang.String objname,
java.lang.String platform,
POPString codefile)
Query the CodeMgr to retrieve the code file for a specific object on a
specific architecture
|
void |
registerCode(java.lang.String objname,
java.lang.String platform,
java.lang.String codefile)
Register a executable code file in the CodeMgr service
|
log, logPJstart, start, stopaddSemantic, addSemantic, canKill, defineConstructor, defineMethod, deserialize, deserialize, exit, finalize, getAccessPoint, getBroker, getClassId, getClassName, getConstructorByInfo, getMethodByInfo, getMethodInfo, getMethodInfo, getOd, getPOPCReference, getSemantic, getSemantic, getThis, getThis, getTracked, getTracked, getTrackedUsers, hasDestructor, hasDestructor, initializeConstructorInfo, initializeMethodInfo, initializePOPObject, isDaemon, isTemporary, isTracking, loadPOPAnnotations, makePermanent, makeTemporary, PopRegisterFutureConnectorCertificate, printMethodInfo, serialize, setBroker, setClassId, setClassName, setOdpublic static final java.lang.String ALL_PLATFORMS
public POPCodeManager()
public POPCodeManager(java.lang.String challenge)
challenge - challenge string to stop the servicepublic void registerCode(java.lang.String objname,
java.lang.String platform,
java.lang.String codefile)
objname - Name of the parallel objectplatform - Platform of the executablecodefile - Path of the executable code filepublic int queryCode(java.lang.String objname,
java.lang.String platform,
POPString codefile)
objname - Name of the objectplatform - Platform desiredcodefile - Output argument - code file for the specific object and the
specific platformpublic int getPlatform(java.lang.String objname,
POPString platform)
objname - Name of the objectplatform - Output argument - platform available for the object