MCPcopy Index your code
hub / github.com/ChiralBehaviors/Chinese-Whispers

github.com/ChiralBehaviors/Chinese-Whispers @0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.1 ↗ · + Follow
196 symbols 618 edges 19 files 88 documented · 45%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Chinese-Whispers

A generic gossip based state replication and failure detection service. The network transport is UDP unicast.

This project is licensed under the Apache license, version 2.0.

Read the project wiki for more information on design, configuration and usage.

This project requires Maven version 3.x to build.

To build this project, cd to the root directory and do:

mvn clean install

See the project wiki for design and usage.

Maven configuration

For releases, include the hellblazer release repository:

<repository>
    <id>hellblazer-release</id>
    <url>https://repository-hal900000.forge.cloudbees.com/release/</url>
</repository>

add as dependency:

<dependency>
    <groupId>com.hellblazer</groupId>
    <artifactId>chinese-whispers</artifactId>
    <version>1.0.0</version>
</dependency>

For snapshots, include the hellblazer snapshot repository:

<repository>
    <id>hellblazer-snapshots</id>
    <url>https://repository-hal900000.forge.cloudbees.com/snapshot/</url>
</repository>

add as dependency:

<dependency>
    <groupId>com.hellblazer</groupId>
    <artifactId>chinese-whispers</artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

Extension points exported contracts — how you extend this code

GossipListener (Interface)
@author hhildebrand [3 implementers]
src/main/java/com/hellblazer/gossip/GossipListener.java
GossipCommunications (Interface)
The service interface for connecting to new members @author Hal Hildebrand</a [2 implementers]
src/main/java/com/hellblazer/gossip/GossipCommunications.java
GossipMessages (Interface)
The communications interface used by the gossip protocol @author Hal Hildebra [2 implementers]
src/main/java/com/hellblazer/gossip/GossipMessages.java

Core symbols most depended-on inside this repo

getId
called by 41
src/main/java/com/hellblazer/gossip/Digest.java
getLocalAddress
called by 39
src/main/java/com/hellblazer/gossip/Gossip.java
markAlive
called by 33
src/main/java/com/hellblazer/gossip/SystemView.java
update
called by 25
src/main/java/com/hellblazer/gossip/Gossip.java
getState
called by 21
src/main/java/com/hellblazer/gossip/Endpoint.java
getAddress
called by 20
src/main/java/com/hellblazer/gossip/Digest.java
equals
called by 18
src/main/java/com/hellblazer/gossip/Digest.java
getLocalAddress
called by 14
src/main/java/com/hellblazer/gossip/GossipCommunications.java

Shape

Method 174
Class 18
Interface 3
Enum 1

Languages

Java100%

Modules by API surface

src/main/java/com/hellblazer/gossip/Gossip.java34 symbols
src/main/java/com/hellblazer/gossip/UdpCommunications.java33 symbols
src/main/java/com/hellblazer/gossip/Endpoint.java23 symbols
src/main/java/com/hellblazer/gossip/SystemView.java13 symbols
src/main/java/com/hellblazer/gossip/ReplicatedState.java13 symbols
src/test/java/com/hellblazer/gossip/EndToEndTest.java11 symbols
src/main/java/com/hellblazer/gossip/Digest.java10 symbols
src/test/java/com/hellblazer/gossip/GossipTest.java9 symbols
src/main/java/com/hellblazer/gossip/configuration/GossipConfiguration.java8 symbols
src/main/java/com/hellblazer/gossip/GossipCommunications.java8 symbols
src/main/java/com/hellblazer/gossip/Update.java6 symbols
src/test/java/com/hellblazer/gossip/SystemViewTest.java5 symbols

For agents

$ claude mcp add Chinese-Whispers \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page