112113114115116117118119
public void flush() { // TODO: Send the attributes in one messages for (String name : modified) { Object value = super.getAttribute(name); messageSender.sendMessage(new SetAttributeMessage(contextPath, getId(), name, value)); } }