|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Receivers
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 |
---|
int size()
ArrayList listReceivers()
void add(Subscription sub)
sub
- the receiver to addvoid remove(Subscription sub)
sub
- the receiver to removeIterator iterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |