118119120121122123124125126127128
if(socket != null) socket.close(); } private void setSocket() { dispatcher.execute(new CreateToken(), new AsyncCallback<CreateTokenResult>() { @Override public void onFailure(Throwable caught) { GWT.log("Error doing CreateToken", caught); }