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

public abstract class NotifierBase : INotifier
    #region INotifier Members
    public abstract void RecordMessage(AlertLevel alertLevel, string collectorType, string category, MonitorStates oldState, MonitorStates newState, CollectorMessage collectorMessage);
    public abstract void OpenViewer();

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

Last edited Sep 12, 2011 at 8:39 AM by RudolfHenning, version 2


No comments yet.