public virtual void OnNext(IWampEvent value) { PublishOptions options = value.Options ?? EmptyOptions; object[] arguments = value.Arguments; IDictionary <string, object> argumentsKeywords = value.ArgumentsKeywords; if (argumentsKeywords != null) { Publish(options, arguments, argumentsKeywords); } else if (arguments != null) { Publish(options, arguments); } else { Publish(options); } }
public void OnNext(TTuple value) { IWampEvent wampEvent = mConverter.ToEvent(value); mSubject.OnNext(wampEvent); }