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();

    #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);

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


No comments yet.