public class NotificationBusDemo extends java.lang.Object implements NotificationBus.Consumer
| Constructor and Description |
|---|
NotificationBusDemo() |
| Modifier and Type | Method and Description |
|---|---|
java.io.Serializable |
getCache()
Called on the coordinator to obtains its cache
|
void |
handleNotification(java.io.Serializable n) |
static void |
main(java.lang.String[] args) |
void |
memberJoined(Address mbr) |
void |
memberLeft(Address mbr) |
void |
start(java.lang.String bus_name,
java.lang.String props) |
public void start(java.lang.String bus_name,
java.lang.String props)
public void handleNotification(java.io.Serializable n)
handleNotification in interface NotificationBus.Consumerpublic java.io.Serializable getCache()
NotificationBus.ConsumergetCache in interface NotificationBus.Consumerpublic void memberJoined(Address mbr)
memberJoined in interface NotificationBus.Consumerpublic void memberLeft(Address mbr)
memberLeft in interface NotificationBus.Consumerpublic static void main(java.lang.String[] args)
Copyright ? 1998-2008 Bela Ban. All Rights Reserved.