internal RemoveHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_HeaderFieldName = xmlTable.GetValue("HeaderFieldName");
        }
        internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Url = xmlTable.GetValue("URL");
        }
 internal GlobalMessageRuleActionBase(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description)
 {
     this.m_pRule       = rule;
     this.m_pOwner      = owner;
     this.m_ID          = id;
     this.m_Description = description;
 }
Exemplo n.º 4
0
        internal SendError(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_ErrorText = xmlTable.GetValue("ErrorText");
        }
        internal StoreToDiskFolder(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Folder = xmlTable.GetValue("Folder");
        }
        internal ForwardToEmail(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_EmailAddress = xmlTable.GetValue("Email");
        }
Exemplo n.º 7
0
        internal ExecuteProgram(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Program     = xmlTable.GetValue("Program");
            this.m_ProgramArgs = xmlTable.GetValue("Arguments");
        }
Exemplo n.º 8
0
 internal StoreToFtp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port, string userName, string password, string folder) : base(rule, owner, id, description)
 {
     this.m_Server   = host;
     this.m_Port     = port;
     this.m_UserName = userName;
     this.m_Password = password;
     this.m_Folder   = folder;
 }
Exemplo n.º 9
0
        internal AutoResponse(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_From    = xmlTable.GetValue("From");
            this.m_Message = Encoding.UTF8.GetBytes(xmlTable.GetValue("Message"));
        }
Exemplo n.º 10
0
        internal ForwardToHost(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Host = xmlTable.GetValue("Host");
            this.m_Port = Convert.ToInt32(xmlTable.GetValue("Port"));
        }
Exemplo n.º 11
0
        internal PostToNntpNewsgroup(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Server    = xmlTable.GetValue("Server");
            this.m_Port      = Convert.ToInt32(xmlTable.GetValue("Port"));
            this.m_Newsgroup = xmlTable.GetValue("Newsgroup");
        }
Exemplo n.º 12
0
        internal StoreToFtp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, byte[] actionData) : base(rule, owner, id, description)
        {
            XmlTable xmlTable = new XmlTable("ActionData");

            xmlTable.Parse(actionData);
            this.m_Server   = xmlTable.GetValue("Server");
            this.m_Port     = Convert.ToInt32(xmlTable.GetValue("Port"));
            this.m_UserName = xmlTable.GetValue("User");
            this.m_Password = xmlTable.GetValue("Password");
            this.m_Folder   = xmlTable.GetValue("Folder");
        }
 internal RemoveHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string headerField) : base(rule, owner, id, description)
 {
     this.m_HeaderFieldName = headerField;
 }
 internal StoreToDiskFolder(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string folder) : base(rule, owner, id, description)
 {
     this.m_Folder = folder;
 }
Exemplo n.º 15
0
 internal ExecuteProgram(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string program, string programArgs) : base(rule, owner, id, description)
 {
     this.m_Program     = program;
     this.m_ProgramArgs = programArgs;
 }
Exemplo n.º 16
0
 internal SendError(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string errorText) : base(rule, owner, id, description)
 {
     this.m_ErrorText = errorText;
 }
Exemplo n.º 17
0
 internal ForwardToHost(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port) : base(rule, owner, id, description)
 {
     this.m_Host = host;
     this.m_Port = port;
 }
Exemplo n.º 18
0
 internal AddHeaderField(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string headerFieldName, string headerFieldValue) : base(rule, owner, id, description)
 {
     this.m_HeaderFieldName  = headerFieldName;
     this.m_HeaderFieldValue = headerFieldValue;
 }
Exemplo n.º 19
0
 internal AutoResponse(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string from, byte[] message) : base(rule, owner, id, description)
 {
     this.m_From    = from;
     this.m_Message = message;
 }
Exemplo n.º 20
0
 internal DeleteMessage(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description) : base(rule, owner, id, description)
 {
 }
 internal GlobalMessageRuleAction_PostToHttp(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string url) : base(rule, owner, id, description)
 {
     this.m_Url = url;
 }
Exemplo n.º 22
0
 internal ForwardToEmail(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string email) : base(rule, owner, id, description)
 {
     this.m_EmailAddress = email;
 }
Exemplo n.º 23
0
 internal PostToNntpNewsgroup(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string host, int port, string newsgroup) : base(rule, owner, id, description)
 {
     this.m_Server    = host;
     this.m_Port      = port;
     this.m_Newsgroup = newsgroup;
 }