Example #1
0
        /** 连接失败一次(主线程) */
        protected void connectFailedOnce()
        {
            if (!checkIsCurrent())
            {
                return;
            }

            //不在连接中
            if (_parent.getState() != BaseSocket.Connecting)
            {
                return;
            }

            _parent.preConnectFailedForIO();
        }