Пример #1
0
        public IYieldPoint HandlePoloConfirmationResponse(PoloConfirmationResponseMessage msg)
        {
            Console.WriteLine("Phase = " + Phase + " Handling the first response and sending the second...");

            Phase = 2;

            return(flowProvider.YieldWithRequestSync <PoloConfirmationRequestMessage, PoloConfirmationResponseMessage>
                       (new PoloConfirmationRequestMessage(),
                       HandlePoloConfirmationResponseEnd));
        }
Пример #2
0
 public void HandlePoloConfirmationResponse1(PoloConfirmationResponseMessage message)
 {
     Console.WriteLine(">> HandlePoloConfirmationResponse1");
     Console.WriteLine(message.ShouldMatchState.Equals(StateTestGuid) ? "Confirmed!" : "Oops! Mismatch!");
 }
Пример #3
0
 public IYieldPoint HandlePoloConfirmationResponseEnd(PoloConfirmationResponseMessage msg)
 {
     Console.WriteLine("Phase = " + Phase + " Handling the second response and Ending stand-alone flow");
     return(flowProvider.End());
 }