Interface MachineAddedEventManager
- All Known Subinterfaces:
InternalMachineAddedEventManager
- All Known Implementing Classes:
DefaultMachineAddedEventManager
public interface MachineAddedEventManager
An event manager allowing to remove and add
MachineAddedEventListeners.- Author:
- kimchy
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(MachineAddedEventListener eventListener) Add the event listener.voidadd(MachineAddedEventListener eventListener, boolean includeExisting) Add the event listener.voidremove(MachineAddedEventListener eventListener) Removes the event listener.
-
Method Details
-
add
Add the event listener. Note, the add callback will be called for currently discovered machines as well. -
add
Add the event listener. Allows to control if events will be called for existing machines as well. -
remove
Removes the event listener.
-