示例#1
0
 private static bool ShouldPublishMessage(WampNotification wampNotification, string sessionId)
 {
     return (!wampNotification.Eligible.Any() &&
             !wampNotification.Excluded.Contains(sessionId)) ||
            wampNotification.Eligible.Contains(sessionId);
 }
示例#2
0
 public void OnNext(WampNotification value)
 {
     mSubject.OnNext(value);
 }