/// <summary> /// Create an ChunkAvailabilityReply which will not contain the requested data. /// </summary> /// <param name="sourceNetworkIdentifier">The network identifier of the source of this ChunkAvailabilityReply</param> /// <param name="itemCheckSum">The checksum of the DFS item</param> /// <param name="chunkIndex">The chunkIndex of the requested item</param> /// <param name="replyState">A suitable reply state</param> public ChunkAvailabilityReply(string sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, ChunkReplyState replyState) { this.SourceNetworkIdentifier = sourceNetworkIdentifier; this.ItemCheckSum = itemCheckSum; this.ChunkIndex = chunkIndex; this.ReplyState = replyState; }
/// <summary> /// Create an ChunkAvailabilityReply which will not contain the requested data. /// </summary> /// <param name="sourceNetworkIdentifier">The network identifier of the source of this ChunkAvailabilityReply</param> /// <param name="itemCheckSum">The checksum of the DFS item</param> /// <param name="chunkIndex">The chunkIndex of the requested item</param> /// <param name="replyState">A suitable reply state</param> public ChunkAvailabilityReply(string sourceNetworkIdentifier, string itemCheckSum, byte chunkIndex, ChunkReplyState replyState) { this.SourceNetworkIdentifier = sourceNetworkIdentifier; this.ItemCheckSum = itemCheckSum; this.ChunkIndex = chunkIndex; this.ReplyState = replyState; }