class SimpleEventBus implements EventBus {

    @Override
    public void send(String subscriberId, String event, String data) {
        Subscription sub = subscriptions.get(subscriberId);
        if( sub!=null ) {
            sub.onEvent(event, data);
        }
    }

}