Метод | Описание | |
---|---|---|
IsPresent ( |
Checks to find out if the device associated with the HttpRequest has already been seen by the application. Always returns false if the sync file has not been specified.
|
|
Remove ( |
Removes this device request from the previous devices list.
|
|
Set ( |
Adds this device request to the previous devices list.
|
Метод | Описание | |
---|---|---|
Add ( object record ) : void |
Adds the current request record to the file containing details of all the available requests.
|
|
CheckIfServiceRequired ( ) : void |
If the last time the devices file was serviced to remove old entries is older than 1 minute start a thread to service the devices file and remove old entries. If the redirect timeout is 0 indicating infinite then nothing should be purged.
|
|
OpenSyncFilePath ( FileMode mode, FileAccess access, FileShare share ) : |
Opens the file for read and if an exception is thrown will return null rather than the exception.
|
|
ProcessSyncFile ( ) : void | ||
ReadRecords ( |
Read the records that should be retained in the sync file.
|
|
RefreshSyncFile ( ) : void |
Checks to determine if new records need to be processed and if so loads them into memory.
|
|
RequestHistory ( ) : System | ||
ServiceRequestHistory ( object purgeDate ) : void |
Removes entries from the memory version and sync file that are older than the purgeDate specified.
|
public IsPresent ( |
||
request | HttpRequest to be checked. | |
Результат | bool |
public Remove ( |
||
request | HttpRequest of the device. | |
Результат | void |
public Set ( |
||
request | HttpRequest of the device. | |
Результат | void |