public class Scheduler : object, IDisposable
Member | Description | |
---|---|---|
Constructor | ||
ExecuteScheduledEvent | Event that is fired when | |
AddItem | Adds an item to the queue. public void AddItem(object item);
public void AddItem(SchedulerItem item);
public void AddItem(string textData,
string type); public void AddItem(Byte[] data,
string type); |
|
Dispose | public sealed void Dispose();
|
|
GetNextItem | Returns the next queued item or null on failure. public object GetNextItem();
|
|
PingServer | Optional routine that pings a Url on the server to keep the server alive. public void PingServer();
|
|
Start | Starts the background thread processing public void Start(int checkFrequency);
public void Start();
|
|
Stop | Causes the processing to stop. If the operation is still active it will stop after the current message processing completes public void Stop();
|
|
Cancelled | Determines the status the Scheduler | |
CheckFrequency | The frequency in how often the main method is executed. Given in seconds. | |
Items | Memory based queue that contains items and allows retrieval of items. | |
WebServerPingUrl | Optional URL that is pinged occasionally to ensure the server stays alive. |