@Override
 public Session publish(String event, Object message) {
   return parent.publish(event, new InstanceEvent<>(resource, message));
 }
 @Override
 public Session publish(String event) {
   return parent.publish(event, new InstanceEvent<>(resource, null));
 }