/// <summary> /// Add new <see cref="XdsResponseItem"/> with <see cref="IDataReader"/>, request id, sequence id /// </summary> /// <param name="dr">Instance of <see cref="IDataReader"/></param> /// <param name="requestId">request id</param> /// <param name="sequenceId">sequece id of the specified request.</param> /// <returns>index of collection</returns> public XdsResponseItem AddResponseItem(IDataReader dr, int requestId, int sequenceId) { return(Responses.AddResponseItem(dr, requestId, sequenceId)); }
/// <summary> /// Add new <see cref="XdsResponseItem"/> with response type, request id, sequence id /// </summary> /// <param name="responseKind">response type</param> /// <param name="requestId">request id</param> /// <param name="sequenceId">sequece id of the specified request.</param> /// <returns>new instance of <see cref="XdsResponseItem"/></returns> public XdsResponseItem AddResponseItem(XmlDataResponseKind responseKind, int requestId, int sequenceId) { return(Responses.AddResponseItem(responseKind, requestId, sequenceId)); }
/// <summary> /// Add new <see cref="XdsResponseItem"/> /// </summary> /// <param name="responseItem">Instance of <see cref="XdsResponseItem"/> to add.</param> /// <returns>index of collection, if <paramref name="responseItem"/> is null, return -1</returns> public int AddResponseItem(XdsResponseItem responseItem) { return(Responses.AddResponseItem(responseItem)); }
/// <summary> /// Add new <see cref="XdsResponseItem"/> with <see cref="DataView"/>, request id, sequence id /// </summary> /// <param name="dv">Instance of <see cref="DataView"/></param> /// <param name="requestId">request id</param> /// <param name="sequenceId">sequece id of the specified request.</param> /// <returns>index of collection</returns> public XdsResponseItem AddResponseItem(DataView dv, int requestId, int sequenceId) { return(Responses.AddResponseItem(dv, requestId, sequenceId)); }