public class NotificationManager<T>
extends java.lang.Object
| Constructor and Description |
|---|
NotificationManager() |
NotificationManager(java.util.concurrent.atomic.AtomicInteger counter) |
| Modifier and Type | Method and Description |
|---|---|
int |
addHandler(NotificationHandler<T> newHandler) |
void |
clear() |
boolean |
remove(int notificationID) |
void |
send(T message) |
int |
size() |
public NotificationManager()
public NotificationManager(java.util.concurrent.atomic.AtomicInteger counter)
public int addHandler(NotificationHandler<T> newHandler)
public void send(T message)
public void clear()
public boolean remove(int notificationID)
public int size()