public void connected(){
synchronized (this) {
    if (idleReconnectFuture != null)     idleReconnectFuture.cancel(false);
    scheduleIdleTask(idleTimeoutMsec.get(),false);
  }
}

public void connected ( ) { synchronized ( this ) { if ( idleReconnectFuture != null ) idleReconnectFuture . cancel ( false ) ; scheduleIdleTask ( idleTimeoutMsec . get ( ) , false ) ; } }
to be called when the connector has become connected .
