 pPayload = pSessionData->messages.PeekFront();                             }                             else                             {                                 break;                             }                         }                     }                     else                     {                         pSessionData->state = SessionState::ReceivePayload;                     }                      UnlockData();                      break;                 }                  case SessionState::Send