sPFWFDMid/src/main/java/it/polimi/spf/wfd/WifiDirectMiddleware.java
@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);
        }
    }
@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);
        }
    }
subscribe to catch events posted by {@link WfdHandler}.