Class StartPollingEventHandler
java.lang.Object
energy.eddie.regionconnector.us.green.button.permission.handlers.StartPollingEventHandler
- All Implemented Interfaces:
EventHandler<UsStartPollingEvent>
@Component
public class StartPollingEventHandler
extends Object
implements EventHandler<UsStartPollingEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionStartPollingEventHandler(PollingService pollingService, EventBus eventBus, DataNeedCalculationService<DataNeed> calculationService, UsPermissionRequestRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(UsStartPollingEvent event) Subscription method for the event bus
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:EventHandlerSubscription method for the event bus- Specified by:
acceptin interfaceEventHandler<UsStartPollingEvent>- Parameters:
event- event that indicates that a permission request has been changed
-