Examples of QQNotifyEvent


Examples of iqq.im.event.QQNotifyEvent

          QQErrorCode code = ex.getError();
          if(code == QQErrorCode.INVALID_LOGIN_AUTH) {
            relogin();
          } else if(code == QQErrorCode.IO_ERROR || code == QQErrorCode.IO_TIMEOUT){
            //粗线了IO异常,直接报网络错误
            getContext().fireNotify(new QQNotifyEvent(QQNotifyEvent.Type.NET_ERROR, ex));
          }else{
            LOG.warn("poll msg unexpected error, ignore it ...", ex);
            relogin();
            doPollMsg();
          }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.