Map<String, Object> entity = super.write(si.parent().reply().setType(ProtocolType.SET.toString()));
entity.put(Dictionary.FIELD_SID, si.getId());
entity.put(Dictionary.FIELD_SIZE, si.getFile().getSize());
entity.put(Dictionary.FIELD_NAME, si.getFile().getName());
entity.put(Dictionary.FIELD_CLASS, element.getClass().getSimpleName());
entity.put(Dictionary.FIELD_HOST, new String[] { si.host(this.delegation, super.jidBuilder.build(si.parent().getTo()).asStringWithBare()) });
if (si.delay()) {
entity.put(Dictionary.FIELD_DELAY, si.getDelay().getStamp());
}
return entity;
}