@Override public void setGroupSendTrapper(GroupSendTrapper<Object, Object> newVal) { if (newVal.getDestination() == null) { newVal.setDestination(groupSendTrapper.getDestination()); Tracer.warning("group send trapper == mull!"); } else if (newVal.getDestination() == groupSendTrapper) { // adding a new one in front of old one ConnectiontEventBus.newEvent( new AReplaceConnectionEvent(this, groupSendTrapper, newVal, true, false)); } else { ConnectiontEventBus.newEvent(new AConnectionEvent(this, newVal, true)); } this.groupSendTrapper = newVal; // DistEventsBus.newEvent(new AConnectionEvent(this, newVal, true)); // groupSendTrapper.setDestination(sendTrapperDestination); }