private PullResponse PullNextBatch(string context, int maxElements)
 {
     return(_soapClient
            .BuildMessage()
            .AddHeaders(_additionalHeaders)
            .PullNextBatch(context, maxElements));
 }
Example #2
0
 public int EstimateCount(string resourceUri, Filter filter, IEnumerable <Selector> selectors)
 {
     return(_soapClient
            .BuildMessage()
            .WithResourceUri(resourceUri)
            .WithSelectors(selectors)
            .EstimateEnumerationCount(filter));
 }
        public IPullSubscriptionClient <T> SubscribeUsingPullDelivery <T>(Filter filter, params IMessageHeaderWithMustUnderstandSpecification[] additonalHeaders)
        {
            var context = _soapClient
                          .BuildMessage()
                          .AddHeaders(additonalHeaders)
                          .SubscribeUsingPullDelivery(filter);

            return(new PullSubscriptionClientImpl <T>(_soapClient, context, additonalHeaders));
        }