예제 #1
0
        public int Feed(CommandParser parser, bool not)
        {
            switch (parser.GetCurrentArg())
            {
            case OptionState:
                State = ConnectionStateSet.Parse(parser.GetNextArg());
                return(1);
            }

            return(0);
        }
예제 #2
0
        int IIpTablesModuleInternal.Feed(RuleParser parser, bool not)
        {
            switch (parser.GetCurrentArg())
            {
            case OptionState:
                State = ConnectionStateSet.Parse(parser.GetNextArg());
                return(1);
            }

            return(0);
        }