code: @Override
      public void search(final Query query) {
          getDispatcher().invokeLater(new AsyncTask(SEARCH, listeners) {
              @Override
              public void invoke(List<TwitterListener> listeners) throws TwitterException {
                  QueryResult result = twitter.search(query);
                  for (TwitterListener listener : listeners) {
                      try {
                          listener.searched(result);
                      } catch (Exception e) {
                          logger.warn("Exception at search", e);
                      }
                  }
              }
          });
      }
docs: /* Search Resources