Package io.ably.lib.util
Class Multicaster<T>
java.lang.Object
io.ably.lib.util.Multicaster<T>
- Type Parameters:
-
T
- The type of elements being added to this multicaster - the listeners.
- Direct Known Subclasses:
-
ChannelStateListener.Multicaster
,CompletionListener.Multicaster
,ConnectionStateListener.Multicaster
Collection of members who are listeners, with methods that are safe to be called from any thread.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Multicaster
-
-
Method Details
-
add
-
remove
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
size
public int size() -
getMembers
Returns a snapshot of the members of this multicaster instance.
-