public void reconectOnFailure(final boolean reconnectOnFailure){
  this.reconnectOnFailure=reconnectOnFailure;
}

public void reconectOnFailure ( final boolean reconnectOnFailure ) { this . reconnectOnFailure = reconnectOnFailure ; }
should the socket attempt to reconnect if websocket . onfailure is called .
