NotifierBase

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

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

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

Comments

No comments yet.