-
- All Implemented Interfaces:
public interface Advertiser<T extends Object>
Interface that includes listener management
-
-
Method Summary
Modifier and Type Method Description abstract Unit
addListener(T listener)
Adds listener to receive callbacks abstract Unit
removeListener(T listener)
Removes listener to stop receiving callbacks -
-
Method Detail
-
addListener
abstract Unit addListener(T listener)
Adds listener to receive callbacks
- Parameters:
listener
- A listener of type T
-
removeListener
abstract Unit removeListener(T listener)
Removes listener to stop receiving callbacks
- Parameters:
listener
- A listener of type T
-
-
-
-