tracks the progress for long running jobs
More...
tracks the progress for long running jobs
◆ CancelJob()
static bool Ict.Petra.Server.App.Core.TProgressTracker.CancelJob |
( |
string |
AClientID | ) |
|
|
inlinestatic |
the client can cancel the job
- Parameters
-
◆ FinishJob()
static bool Ict.Petra.Server.App.Core.TProgressTracker.FinishJob |
( |
string |
AClientID | ) |
|
|
inlinestatic |
the server will set the job to finished
◆ GetCurrentState()
static TProgressState Ict.Petra.Server.App.Core.TProgressTracker.GetCurrentState |
( |
string |
AClientID | ) |
|
|
inlinestatic |
get the current state, by clientID
- Parameters
-
- Returns
◆ InitProgressTracker()
static TProgressState Ict.Petra.Server.App.Core.TProgressTracker.InitProgressTracker |
( |
string |
AClientID, |
|
|
string |
ACaption, |
|
|
decimal |
AAbsoluteOverallAmount = 100.0m |
|
) |
| |
|
inlinestatic |
add or reuse a tracker for the given clientID
- Parameters
-
AClientID | |
ACaption | |
AAbsoluteOverallAmount | |
- Returns
◆ SetCurrentState()
static void Ict.Petra.Server.App.Core.TProgressTracker.SetCurrentState |
( |
string |
AClientID, |
|
|
string |
AStatusMessage, |
|
|
Decimal |
ACurrentAbsoluteAmount |
|
) |
| |
|
inlinestatic |
set the current state
- Parameters
-
AClientID | |
AStatusMessage | |
ACurrentAbsoluteAmount | |
The documentation for this class was generated from the following file: