示例#1
0
        /**
         * Method declaration
         *
         *
         * @param c
         * @param channel
         *
         * @return
         *
         * @throws Exception
         */
        private Result processDisconnect(Tokenizer c,
                                         Channel channel)
        {
            if (!channel.isClosed())
            {
                channel.disconnect();
                cChannel.Insert(channel.getId(), null);
            }

            return(new Result());
        }