From 21108128d756de16da259b14581c722522e5a152 Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Sun, 21 Jan 2024 15:28:08 +0100 Subject: [PATCH] introduce cluster priority messages --- src/Proto.Cluster/Gossip/Messages.cs | 14 ++++++++++++++ src/Proto.Cluster/Messages/Messages.cs | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 src/Proto.Cluster/Gossip/Messages.cs diff --git a/src/Proto.Cluster/Gossip/Messages.cs b/src/Proto.Cluster/Gossip/Messages.cs new file mode 100644 index 0000000000..54635968d0 --- /dev/null +++ b/src/Proto.Cluster/Gossip/Messages.cs @@ -0,0 +1,14 @@ +using Proto.Remote; + +namespace Proto.Cluster.Gossip; + +public partial class GossipRequest : IRemotePriorityMessage +{ + +} + +public partial class GossipResponse : IRemotePriorityMessage +{ + +} + diff --git a/src/Proto.Cluster/Messages/Messages.cs b/src/Proto.Cluster/Messages/Messages.cs index c1b48c0a25..3e59f29bca 100644 --- a/src/Proto.Cluster/Messages/Messages.cs +++ b/src/Proto.Cluster/Messages/Messages.cs @@ -138,4 +138,9 @@ public static uint TopologyHash(IEnumerable members) return hash; } +} + +public partial class MemberHeartbeat : IRemotePriorityMessage +{ + } \ No newline at end of file