|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by a receivers implementation. The implementation should also have a default constructor. NOTE: There is no need to internally synchronize the caller handles that.
Method Summary | |
void |
add(Subscription sub)
Add a receiver |
Iterator |
iterator()
Get an iterator to loop over all receivers |
ArrayList |
listReceivers()
|
void |
remove(Subscription sub)
Remove a receiver |
int |
size()
|
Method Detail |
public int size()
public ArrayList listReceivers()
public void add(Subscription sub)
sub
- the receiver to addpublic void remove(Subscription sub)
sub
- the receiver to removepublic Iterator iterator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |