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;
 }
예제 #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");
        }
예제 #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");
        }
예제 #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;
 }
예제 #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"));
        }
예제 #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"));
        }
예제 #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");
        }
예제 #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;
 }
예제 #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;
 }
예제 #16
0
 internal SendError(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string errorText) : base(rule, owner, id, description)
 {
     this.m_ErrorText = errorText;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #22
0
 internal ForwardToEmail(GlobalMessageRule rule, GlobalMessageRuleActionCollection owner, string id, string description, string email) : base(rule, owner, id, description)
 {
     this.m_EmailAddress = email;
 }
예제 #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;
 }