예제 #1
0
        public void ack_client_get_logic(string client_uuid, string result)
        {
            clientproxy _clientproxy = _clientmanager.get_clientproxy(client_uuid);

            if (_clientproxy != null)
            {
                logicproxy _logicproxy = _logicmanager.get_logic(juggle.Imodule.current_ch);
                if (result == "svr_is_success")
                {
                    _clientproxy.ack_get_logic(_logicproxy.uuid);
                }
                else
                {
                    Console.WriteLine(result + " svr:" + _logicproxy.uuid);

                    _logicproxy = _logicmanager.get_logic();
                    _logicproxy.get_logic(client_uuid);
                }
            }
        }
예제 #2
0
        public void ack_client_get_logic(string client_uuid, string result)
        {
            clientproxy _clientproxy = _clientmanager.get_clientproxy(client_uuid);

            if (_clientproxy != null)
            {
                logicproxy _logicproxy = _logicmanager.get_logic(juggle.Imodule.current_ch);
                if (String.Equals(result, "svr_is_sucess"))
                {
                    _clientproxy.ack_get_logic(_logicproxy.uuid);
                }
                else
                {
                    log.log.trace(new System.Diagnostics.StackFrame(true), service.timerservice.Tick, "{0} svr:{1}", result, _logicproxy.uuid);

                    _logicproxy = _logicmanager.get_logic();
                    _logicproxy.get_logic(client_uuid);
                }
            }
        }