Class WebMonitorSiteList

Handles individual site access and configuration info

System.Object
  Westwind.WebMonitor.Components.WebMonitorSiteList

public class WebMonitorSiteList : object

Class Members


MemberDescription
Constructor
WebMonitorMessage
cCodeBase
Config The core configuration object that provides the filenames and operational settings for requests.
Error An error flag
ErrorMsg An error message string if negative returns.
FileName The XML file that contains the configuration.
IsNewList This flag gets set if a new list is created. The IDE can check this and bring up Help in response.
lStopCheckSiteThread Flag that is used make Web Monitor stop checking.
Sites An array of WebMonitor Sites that are managed by this list. Note: Not a collection, but an internal array member.
Add
public void Add( WebMonitorSite loSite );
CheckSites Runs through all sites and checks if it needs to check the site.
public void CheckSites();
CheckSitesAsync Fires up the background thread that loops through each of the sites
public void CheckSitesAsync();
GetSite Returns a Site by its SiteId from the array
public WebMonitorSite GetSite( string lcId );
GetSiteByName Returns a site by name.
public WebMonitorSite GetSiteByName( string Name );
Load Loads the Sites and oConfig members from disk.
public bool Load( bool llCreate );
OnMessage Message event handler of the events that get fired from the Site. This intermediate handler captures the events and forwards them to the form's OnMessage handler with proper synchronization.
public void OnMessage( WebMonitorSite Site,
string Message,
EventMessageId Id );
PackSites Packs the Sites array by removing any null references
public void PackSites();
Remove Removes a site from the site list and repacks the SiteList Array. Note: this may affect any reference that is numeric.
public bool Remove( string lcId );
Save Saves the current configuration to the WebMonitorSites.xml file (by default)
public bool Save();
StopThreads Attempts to shut down any pending threads of the existing running sites
public void StopThreads();
UpdateSite Updates a Site in the SiteList Array
public void UpdateSite( WebMonitorSite loSite );

Requirements

Namespace: Westwind.WebMonitor.Components
Assembly: wwwebmonitor.dll


Last Updated: 4/22/2005 | Send Topic Feedback