public class Broadcaster extends Object
Constructor and Description |
---|
Broadcaster() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(Message msg)
Send out msg.
|
void |
cancelRequest(int senderWhat,
Handler target,
int targetWhat)
Unregister for notifications for this senderWhat/target/targetWhat tuple.
|
void |
dumpRegistrations()
For debugging purposes, print the registrations to System.out
|
void |
request(int senderWhat,
Handler target,
int targetWhat)
Sign up for notifications about something.
|
public void request(int senderWhat, Handler target, int targetWhat)
public void cancelRequest(int senderWhat, Handler target, int targetWhat)
public void dumpRegistrations()
public void broadcast(Message msg)