public void writeExternal(ObjectOutput out) throws IOException {
        ExternalizableUtil.getInstance().writeSerializable(out, (DefaultElement) packet.getElement());
    }
Task that will broadcast a message to local connected client sessions.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/cluster/BroadcastMessage.java