Java 类org.jivesoftware.smack.SmackException.AlreadyLoggedInException 实例源码

项目:Smack    文件:XMPPTCPConnection.java   
@Override
protected void throwAlreadyLoggedInExceptionIfAppropriate() throws AlreadyLoggedInException {
    if (isAuthenticated() && !disconnectedButResumeable) {
        throw new AlreadyLoggedInException();
    }
}
项目:Smack    文件:AbstractXMPPConnection.java   
protected void throwAlreadyLoggedInExceptionIfAppropriate() throws AlreadyLoggedInException {
    if (isAuthenticated()) {
        throw new AlreadyLoggedInException();
    }
}
项目:androidclient    文件:XMPPTCPConnection.java   
@Override
protected void throwAlreadyLoggedInExceptionIfAppropriate() throws AlreadyLoggedInException {
    if (isAuthenticated() && !disconnectedButResumeable) {
        throw new AlreadyLoggedInException();
    }
}