org.jgroups.demos |
Provides demonstrations of JGroups functionality.
|
Java Source File Name | Type | Comment |
CausalDemo.java | Class | Simple causal demo where each member bcast a consecutive letter from the
alphabet and picks the next member to transmit the next letter. |
Chat.java | Class | |
DistributedHashtableDemo.java | Class | Uses the DistributedHashtable building block. |
DistributedQueueDemo.java | Class | Uses the DistributedQueue building block. |
DistributedTreeDemo.java | Class | |
Draw.java | Class | Shared whiteboard, each new instance joins the same group. |
Draw2Channels.java | Class | Same as Draw but using 2 channels: one for view changes (control channel) and the other one for drawing
(data channel). |
DrawCommand.java | Class | Encapsulates information about a draw command. |
DrawMultiplexer.java | Class | |
DrawRepl.java | Class | Replicates the whiteboard demo by intercepting central AWT event queue and mcasting events to
all members. |
Gossip.java | Class | Demos that tries to graphically illustrating the gossip (or pbcast) protocol: every sender periodically sends
a DRAW command to a random subset of the group members. |
KeyStoreGenerator.java | Class | Generates a keystore file that has a SecretKey in it. |
NotificationBusDemo.java | Class | Demoes the NotificationBus (without caching). |
QuoteClient.java | Class | Used in conjunction with QuoteServer: a client is member of a group of quote servers which replicate
stock quotes among themselves. |
QuoteServer.java | Class | Example of a replicated quote server. |
ReplicatedTreeDemo.java | Class | |
Topology.java | Class | Demonstrates the membership service. |
TotalOrder.java | Class | Originally written to be a demo for TOTAL order (code to be written by a student). |
TotalTokenDemo.java | Class |
Demonstration of TOTAL_TOKEN protocol stack implementing total
order. |
ViewDemo.java | Class | Demos the reception of views using a PullPushAdapter. |