コード例 #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)
 {
 }