private void NotifyProcessingStateChanged(SessionProcessingState newProcessingState)
        {
            var sessionId = this.GetPrimaryKey();

            this.GetStreamProvider("SMS").GetStream <SessionProcessingNotification>(sessionId, typeof(SessionProcessingNotification).FullName)
            .OnNextAsync(new SessionProcessingNotification(sessionId, newProcessingState))
            .Ignore();
        }
Beispiel #2
0
 public SessionProcessingNotification(Guid sessionId, SessionProcessingState newProcessingState)
 {
     this.SessionId          = sessionId;
     this.NewProcessingState = newProcessingState;
 }