* @throws IOException thrown if an error occurs
*/
public void writePacket(Packet packet, DataOutput dataOut) throws IOException {
super.writePacket(packet, dataOut);
BrokerInfo info = (BrokerInfo) packet;
super.writeUTF(info.getBrokerName(), dataOut);
super.writeUTF(info.getClusterName(), dataOut);
dataOut.writeLong(info.getStartTime());
super.writeObject(info.getProperties(), dataOut);
if (wireFormatVersion>=2){
dataOut.writeBoolean(info.isRemote());
}
}