private PullResponse PullNextBatch(string context, int maxElements)
 {
     return(_soapClient
            .BuildMessage()
            .AddHeaders(_additionalHeaders)
            .PullNextBatch(context, maxElements));
 }
예제 #2
0
 public int EstimateCount(string resourceUri, Filter filter, IEnumerable <Selector> selectors)
 {
     return(_soapClient
            .BuildMessage()
            .WithResourceUri(resourceUri)
            .WithSelectors(selectors)
            .EstimateEnumerationCount(filter));
 }
예제 #3
0
        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));
        }