Class DistributedHashtableDemo

All Implemented Interfaces:
ActionListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, DistributedHashtable.Notification

public class DistributedHashtableDemo extends Frame implements WindowListener, ActionListener, DistributedHashtable.Notification
Uses the DistributedHashtable building block. The latter subclasses java.util.Hashtable and overrides the methods that modify the hashtable (e.g. put()). Those methods are multicast to the group, whereas read-only methods such as get() use the local copy. A DistributedHashtable is created given the name of a group; all hashtables with the same name find each other and form a group.
Author:
Bela Ban
See Also: