Example #1
0
        /**
         * Method declaration
         *
         *
         * @param c
         * @param channel
         *
         * @return
         *
         * @throws Exception
         */
        private Result processRollback(Tokenizer c,
                                       Channel channel)
        {
            string sToken = c.getstring();

            if (!sToken.Equals("WORK"))
            {
                c.back();
            }

            channel.rollback();

            return(new Result());
        }