@Override public void post(List<?> messages) { if (masterConnection != null) { masterConnection.post(messages); } else if (parent != null) { for (Object m : messages) { dispatchEvent(parent, event(EventType.POST).setData(m)); } } else { throw new IllegalStateException("Failed to find master connection for post"); } }
masterConnection.post(event.getData()); } else if (parent != null) {