org.jgroups.demos
Class NotificationBusDemo
public
class
NotificationBusDemo
extends Object
implements NotificationBus.Consumer
Demoes the NotificationBus (without caching). Start a number of members and type in messages. All members will
receive the messages. View changes will also be displayed (e.g. member joined, left).
Author: Bela Ban
public Serializable getCache()
public void handleNotification(Serializable n)
public static void main(String[] args)
public void memberJoined(
Address mbr)
public void memberLeft(
Address mbr)
public void start(String bus_name, String props)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.