コード例 #1
0
        private IYieldPoint AllQuotesReceived()
        {
            Console.WriteLine("[ParallelFlowController] First quote: " + FirstQuote);
            Console.WriteLine("[ParallelFlowController] Second quote: " + SecondQuote);

            exampleState.Done();
            return(flowProvider.End());
        }
コード例 #2
0
        public IYieldPoint HandleQuoteResponse2(QuoteResponseMessage message)
        {
            Console.WriteLine("[SimpleFlowController] Quote 2: " + message.Quote);

            exampleState.Done();

            return(flowProvider.End());
        }
コード例 #3
0
 public void HandlePublishSubscribeMessage(PublishSubscribeMessage message)
 {
     // Note that if you run example 01 after 02, it's message will also be in this durable queue
     Console.WriteLine("Received message: " + message.Greeting);
     exampleState.Done();
 }
コード例 #4
0
 public void HandlePublishSubscribeMessage(PublishSubscribeMessage message)
 {
     Console.WriteLine("Received message: " + message.Greeting);
     exampleState.Done();
 }
コード例 #5
0
 public void HandleQuoteResponse(QuoteResponseMessage message)
 {
     Console.WriteLine("Received response: " + message.Quote);
     exampleState.Done();
 }