예제 #1
0
        /// <summary>
        /// Sends a Next Query Page Request
        /// </summary>
        /// <param name="queryContextDescriptor">Query status descriptor for querying the next pages.</param>
        /// <param name="timeout">The timeout value in milliseconds.</param>
        /// <param name="messageID">The messageID to be used. If not present, random one will be generated.</param>
        /// <param name="header">The header to be used in the message. If not present, default one will be generated.</param>
        public void SendNextQueryPageRequest12(QueryContextDescriptor queryContextDescriptor, long timeout, string messageID = null, MessageHeader header = null)
        {
            MessageData   data          = MessageManager.GetNextQueryPageRequest(queryContextDescriptor, timeout);
            MessageHeader messageHeader = header ?? MessageManager.GetHeader(userName, messageID, DataType.NextQueryPageRequest);

            SendMessage(messageHeader, data);
        }
예제 #2
0
 /// <summary>
 /// Create a NextQueryPageRequest type data part.
 /// </summary>
 /// <param name="queryContextDescriptor">Query status descriptor for querying the next pages.</param>
 /// <param name="timeout">The timeout value in milliseconds.</param>
 /// <returns>The created NextQueryPageRequestData object.</returns>
 public static NextQueryPageRequestData GetNextQueryPageRequest(QueryContextDescriptor queryContextDescriptor, long timeout)
 {
     return(new NextQueryPageRequestData(queryContextDescriptor, timeout));
 }