code: @Subscribe
      public void onSendBroadcastMessage(HandlerSendBroadcastEvent e) {
          try {
              this.sendMessageBroadcast(e.getMessage());
          } catch (GroupException e1) {
              WfdLog.e(TAG, "GroupException " + e.getMessage());
          } catch (IOException e1) {
              WfdLog.e(TAG, "handleMessage IOException", e1);
          }
      }
docs: subscribe to catch events posted by {@link WfdHandler}.