public Packet(String packetType, String version, BackupChunk chunk, InetAddress addr) {
		this.packetType = packetType;
		this.version = version;
		this.chunkNo = chunk.getChunkNo();
		this.replicationDeg = chunk.getWantedReplicationDegree();
		this.data = chunk.getData();
		this.fileID = chunk.getFileID();
		this.addr = addr;
	}