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

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