@Override
protected void onReset() {
super.onReset();
getView().setTextToServer(textToServer);
getView().setServerResponse("Waiting for response...");
dispatcher.execute(new SendTextToServer(textToServer),
new AsyncCallback<SendTextToServerResult>() {
@Override
public void onFailure(Throwable caught) {
getView().setServerResponse(
"An error occured: " + caught.getMessage());