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)); }
public void HandlePoloConfirmationResponse1(PoloConfirmationResponseMessage message) { Console.WriteLine(">> HandlePoloConfirmationResponse1"); Console.WriteLine(message.ShouldMatchState.Equals(StateTestGuid) ? "Confirmed!" : "Oops! Mismatch!"); }
public IYieldPoint HandlePoloConfirmationResponseEnd(PoloConfirmationResponseMessage msg) { Console.WriteLine("Phase = " + Phase + " Handling the second response and Ending stand-alone flow"); return(flowProvider.End()); }