Beispiel #1
0
        public IAsyncResult BeginGetRules(AsyncCallback callback, object state)
        {
            var result = new GetEntityCollectionAsyncResult <RuleDescription>(this.topicPath + "/Subscriptions/" + this.name + "/Rules", this.TokenProvider);

            result.BeginInvoke(callback, state);

            return(result);
        }
Beispiel #2
0
        public static IAsyncResult BeginGetQueues(TokenProvider tokenProvider, AsyncCallback callback, object state)
        {
            var result = new GetEntityCollectionAsyncResult <QueueDescription>("$Resources/Queues", tokenProvider);

            result.BeginInvoke(callback, state);

            return(result);
        }
Beispiel #3
0
        public static IAsyncResult BeginGetSubscriptions(string topicPath, TokenProvider tokenProvider, AsyncCallback callback, object state)
        {
            var result = new GetEntityCollectionAsyncResult <SubscriptionDescription>(topicPath + "/Subscriptions", tokenProvider)
            {
                TopicPath = topicPath
            };

            result.BeginInvoke(callback, state);

            return(result);
        }