StringBuilder sb = new StringBuilder();
sb.append('[');
writeToOutputStream(sb, new MarshalledMessage() {
public String getSubject() {
return "ClientBusErrors";
}
public Object getMessage() {
StringBuilder b = new StringBuilder("{ErrorMessage:\"").append(CONFIG_PROBLEM_TEXT).append("\",AdditionalDetails:\"");
return b.append("\"}").toString();
}
});
sb.append(',');
writeToOutputStream(sb, new MarshalledMessage() {
public String getSubject() {
return "ClientBus";
}
public Object getMessage() {