new StringMessageElement(MESSAGE_IS_NACK,
isNackString,
null));
if(data != null) {
msg.addMessageElement(MESSAGE_DATA,
new ByteArrayMessageElement(MESSAGE_DATA,
null,
data,
null));
}
if(trunkData != null) {
msg.addMessageElement(MESSAGE_TRUNK_DATA,
new ByteArrayMessageElement(MESSAGE_TRUNK_DATA,
null,
trunkData,
null));
}
if(containerExtraParamData != null) {
msg.addMessageElement(MESSAGE_CONTAINER_EXTRA_PARAMS_DATA,
new ByteArrayMessageElement(MESSAGE_CONTAINER_EXTRA_PARAMS_DATA,
null,
containerExtraParamData,
null));
}
if(propertiesState != null) {
msg.addMessageElement(MESSAGE_PROPERTIES_DATA,
new ByteArrayMessageElement(MESSAGE_PROPERTIES_DATA,
null,
propertiesState,
null));
}