|
||||||||||
PREV CLASS (src) 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 (src) sub)
Add a receiver |
java.util.Iterator |
iterator()
Get an iterator to loop over all receivers |
java.util.ArrayList |
listReceivers()
|
void |
remove(Subscription (src) sub)
Remove a receiver |
int |
size()
|
Method Detail |
public int size()
public java.util.ArrayList listReceivers()
public void add(Subscription (src) sub)
sub
- the receiver to addpublic void remove(Subscription (src) sub)
sub
- the receiver to removepublic java.util.Iterator iterator()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |