returns true if the reconnection mechanism is enabled . concode_field_sep Logger LOGGER concode_elem_sep WeakReference<AbstractXMPPConnection> weakRefConnection concode_elem_sep ReconnectionPolicy defaultReconnectionPolicy concode_elem_sep Thread reconnectionThread concode_elem_sep int defaultFixedDelay concode_elem_sep int fixedDelay concode_elem_sep boolean automaticReconnectEnabled concode_elem_sep ReconnectionPolicy reconnectionPolicy concode_elem_sep ConnectionListener connectionListener concode_elem_sep Map<AbstractXMPPConnection,ReconnectionManager> INSTANCES concode_elem_sep boolean enabledPerDefault concode_elem_sep Runnable reconnectionRunnable concode_elem_sep int randomBase concode_elem_sep boolean done concode_field_sep void authenticated concode_elem_sep void setDefaultReconnectionPolicy concode_elem_sep boolean getEnabledPerDefault concode_elem_sep void setReconnectionPolicy concode_elem_sep ReconnectionManager getInstanceFor concode_elem_sep void reconnect concode_elem_sep void connectionClosedOnError concode_elem_sep void connectionCreated concode_elem_sep void disableAutomaticReconnection concode_elem_sep void setDefaultFixedDelay concode_elem_sep void enableAutomaticReconnection concode_elem_sep void connectionClosed concode_elem_sep void setEnabledPerDefault concode_elem_sep boolean isAutomaticReconnectEnabled concode_elem_sep void setFixedDelay
boolean function ( XMPPConnection connection ) { return ! done && ! connection . isConnected ( ) && isAutomaticReconnectEnabled ( ) ; }