Пример #1
0
 private void OnUnsolicitedStoreNotifications(object sender, FireAndForgetEventArgs <v12.Protocol.StoreNotification.UnsolicitedStoreNotifications> args)
 {
     Console.WriteLine(EtpExtensions.Serialize(args.Message.Body));
 }
Пример #2
0
 private void OnNotificationSubscriptionsStopped(object sender, FireAndForgetEventArgs <v12.Protocol.ChannelSubscribe.SubscriptionsStopped> args)
 {
     Console.WriteLine(EtpExtensions.Serialize(args.Message.Body));
 }
Пример #3
0
 /// <summary>
 /// Handles the UnsolicitedPartNotifications message from a store.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{UnsolicitedPartNotifications}"/> instance containing the event data.</param>
 protected virtual void HandleUnsolicitedPartNotifications(FireAndForgetEventArgs <UnsolicitedPartNotifications> args)
 {
 }
Пример #4
0
 private void OnChannelData(object sender, FireAndForgetEventArgs <v12.Protocol.ChannelStreaming.ChannelData> args)
 {
     Console.WriteLine(EtpExtensions.Serialize(args.Message.Body));
 }
Пример #5
0
 private void OnRangeReplaced(object sender, FireAndForgetEventArgs <v12.Protocol.ChannelSubscribe.RangeReplaced> args)
 {
     Console.WriteLine(EtpExtensions.Serialize(args.Message.Body));
 }
Пример #6
0
 private void OnChannelRemove(object sender, FireAndForgetEventArgs <v11.Protocol.ChannelStreaming.ChannelRemove> args)
 {
     ChannelMetadata.TryRemove(args.Message.Body.ChannelId, out _);
     Console.WriteLine(EtpExtensions.Serialize(args.Message.Body));
 }
Пример #7
0
 private void OnChannelMetadata(object sender, FireAndForgetEventArgs <v12.Protocol.ChannelStreaming.ChannelMetadata> args)
 {
     Console.WriteLine(string.Join(Environment.NewLine, args.Message.Body.Channels.Select(d => EtpExtensions.Serialize(d))));
 }
Пример #8
0
 /// <summary>
 /// Handles the RangeReplaced message from a store.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{RangeReplaced}"/> instance containing the event data.</param>
 protected virtual void HandleRangeReplaced(FireAndForgetEventArgs <RangeReplaced> args)
 {
 }
Пример #9
0
 /// <summary>
 /// Handles the SubscriptionsStopped message from a store when sent as a notification.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{SubscriptionsStopped}"/> instance containing the event data.</param>
 protected virtual void HandleNotificationSubscriptionsStopped(FireAndForgetEventArgs <SubscriptionsStopped> args)
 {
 }
Пример #10
0
 /// <summary>
 /// Handles the ChannelData message from a store.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelData}"/> instance containing the event data.</param>
 protected virtual void HandleChannelData(FireAndForgetEventArgs <ChannelData> args)
 {
 }
Пример #11
0
 /// <summary>
 /// Handles the ChannelsTruncated message from a store.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelsTruncated}"/> instance containing the event data.</param>
 protected virtual void HandleChannelsTruncated(FireAndForgetEventArgs <ChannelsTruncated> args)
 {
 }
Пример #12
0
 /// <summary>
 /// Handles the ChannelRemove message from a producer.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelRemove}"/> instance containing the event data.</param>
 protected virtual void HandleChannelRemove(FireAndForgetEventArgs <ChannelRemove> args)
 {
 }
Пример #13
0
 /// <summary>
 /// Handles the ChannelStatusChange message from a producer.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelStatusChange}"/> instance containing the event data.</param>
 protected virtual void HandleChannelStatusChange(FireAndForgetEventArgs <ChannelStatusChange> args)
 {
 }
Пример #14
0
 /// <summary>
 /// Handles the ChannelMetadata message from producer that is a simple streamer.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelMetadata}"/> instance containing the event data.</param>
 protected virtual void HandleSimpleStreamerChannelMetadata(FireAndForgetEventArgs <ChannelMetadata> args)
 {
 }
Пример #15
0
 /// <summary>
 /// Handles the ChannelsClosed message from a store when not sent in response to a request.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{ChannelsClosed}"/> instance containing the event data.</param>
 protected virtual void HandleNotificationChannelsClosed(FireAndForgetEventArgs <ChannelsClosed> args)
 {
 }
Пример #16
0
 /// <summary>
 /// Handles the TruncateChannels message from a producer.
 /// </summary>
 /// <param name="args">The <see cref="FireAndForgetEventArgs{TruncateChannels}"/> instance containing the event data.</param>
 protected virtual void HandleTruncateChannels(FireAndForgetEventArgs <TruncateChannels> args)
 {
 }