* @throws IOException thrown if an error occurs
*/
public void writePacket(Packet packet, DataOutput dataOut) throws IOException {
super.writePacket(packet, dataOut);
CapacityInfo info = (CapacityInfo) packet;
super.writeUTF(info.getResourceName(), dataOut);
dataOut.writeShort(info.getCorrelationId());
dataOut.writeByte(info.getCapacity());
dataOut.writeInt((int)info.getFlowControlTimeout());
}