Fovia's .NET Client/Server API
|
Public Member Functions | |
int | getErrorCode () |
int | getProgress () |
hdrcJobInfo (int prog, int err) | |
Public Attributes | |
int | m_err |
int | m_prog |
Container that holds information about a job in progress.
com.fovia.hdrc.hdrcJobInfo.hdrcJobInfo | ( | int | prog, |
int | err | ||
) |
Constructor for hdrcJobInfo, generally called by framework.
prog | - The progress of the job, values in the range of 0 to 100. |
IOException |
References com.fovia.hdrc.hdrcJobInfo.m_err, and com.fovia.hdrc.hdrcJobInfo.m_prog.
int com.fovia.hdrc.hdrcJobInfo.getErrorCode | ( | ) |
Gets the return code of the current job when it compeltes.
IOException |
int com.fovia.hdrc.hdrcJobInfo.getProgress | ( | ) |
Gets the progress of the current job in progress.
IOException |
int com.fovia.hdrc.hdrcJobInfo.m_err |
This will hold the error code if something goes wrong. As always, values less than zero indicate errors.
Referenced by com.fovia.hdrc.hdrcJobInfo.hdrcJobInfo(), and com.fovia.hdrc.interact.hdrcConnectivityAdaptor.isCompleted().
int com.fovia.hdrc.hdrcJobInfo.m_prog |
Progress should be in the range 0-100.
Referenced by com.fovia.hdrc.hdrcJobInfo.hdrcJobInfo(), and com.fovia.hdrc.interact.hdrcConnectivityAdaptor.isCompleted().