|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.comm.loadsubmission.ecompute.HWMEComputeComm
public class HWMEComputeComm
Title: HWMEComputeComm
Description: This class handles the communication with E-Compute.
Company: Altair Engineering, Inc.
Field Summary | |
---|---|
boolean |
m_isAuthenticated
whether the user name and password was authenticated during Ping |
Constructor Summary | |
---|---|
HWMEComputeComm(HWMCommMgr hwmCommMgr,
java.lang.String strSessionName,
java.lang.String strUserName,
java.lang.String strPwd)
Constructor |
Method Summary | |
---|---|
HWMEComputeJobStatus |
CheckJobStatus(int nJobID)
Check the job status. |
void |
Connect(java.lang.String strAddress,
int nPort)
Connect to ECompute |
javax.xml.soap.SOAPMessage |
CreateSOAPMessageForJobStatus(int nJobID)
CreateSOAPMessageForJobStatus Creates a wrapper SOAP Message to get the job status from the E-Compute Server. |
void |
Disconnect()
Disconnect from E-Compute |
HWMEComputeJobResInfo |
DownloadResults(int nJobID,
java.io.File fileDestDir)
This method will download the results as received from ECompute (i.e. |
java.util.Vector |
GetProfiles()
Get the profiles present in e-Compute. |
int |
GetStatusForJob(javax.xml.soap.SOAPMessage soapMsg)
Get the job status. |
void |
PingECompute()
Send "Ping" command. |
int |
SubmitJob(int nProfileID,
java.lang.String strProfile,
java.util.Vector vectFiles)
Submit a job. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean m_isAuthenticated
Constructor Detail |
---|
public HWMEComputeComm(HWMCommMgr hwmCommMgr, java.lang.String strSessionName, java.lang.String strUserName, java.lang.String strPwd)
hwmCommMgr
- A reference to comm mgr. This is needed when this
class needs to inform the comm mgr that this
session has endedstrSessionName
- The name for this session with the serverstrUserName
- The user name to use for the session.strPwd
- The password to use for the session.Method Detail |
---|
public void Connect(java.lang.String strAddress, int nPort) throws java.lang.Exception
Connect
in interface HWMComm
strAddress
- The URL to connect to.
i.e. http://localhost:8080/ecomputenPort
- Not used
java.lang.Exception
public void Disconnect()
Disconnect
in interface HWMComm
public void PingECompute() throws java.lang.Exception
java.lang.Exception
public java.util.Vector GetProfiles() throws java.lang.Exception
strUserName
- The user name
java.lang.Exception
public HWMEComputeJobStatus CheckJobStatus(int nJobID) throws java.lang.Exception
java.lang.Exception
public int SubmitJob(int nProfileID, java.lang.String strProfile, java.util.Vector vectFiles) throws java.lang.Exception
nProfileID
- The profile to use.strProfile
- The profile name to use.vectFiles
- The vector of files.
java.lang.Exception
public HWMEComputeJobResInfo DownloadResults(int nJobID, java.io.File fileDestDir) throws java.lang.Exception
nJobID
- The result of job to download.fileDestDir
- The directory where the compressed file should be
placed.
java.lang.Exception
public javax.xml.soap.SOAPMessage CreateSOAPMessageForJobStatus(int nJobID) throws java.lang.Exception
nJobID
-
java.lang.Exception
public int GetStatusForJob(javax.xml.soap.SOAPMessage soapMsg) throws java.lang.Exception
soapMsg
- The soap message for getting job status.int
- The result of retrieving job
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |