CollectorBase

This is an abstract class that implements the ICollector interface and expose the required properties to all derived classes.

public abstract class CollectorBase : ICollector
{
    #region ICollector Members
    public abstract MonitorStates GetState();
    public abstract void ShowStatusDetails();
    #endregion

    #region IAgent Members
    public string Name { get; set; }
    public int LastError { get; set; }
    public string LastErrorMsg { get; set; }
    public CollectorMessage LastDetailMsg { get; set; }
    public abstract string ConfigureAgent(string config);
    public abstract string GetDefaultOrEmptyConfigString();
    public abstract void ReadConfiguration(XmlDocument configDoc);
    #endregion   
}

Last edited Sep 12, 2011 at 8:34 AM by RudolfHenning, version 4

Comments

No comments yet.