Package org.onosproject.event
Interface ListenerService<E extends Event,L extends EventListener<E>>
-
- All Known Subinterfaces:
AlarmService,ApplicationAdminService,ApplicationService,ClusterAdminService,ClusterMetadataService,ClusterService,ControlMessageAdminService,ControlMessageService,DeviceAdminService,DeviceKeyAdminService,DeviceKeyService,DeviceService,DriverAdminService,DriverRegistry,DriverService,EdgePortService,FlowRuleService,GroupService,HostAdminService,HostService,IntentService,InterfaceService,LeadershipService,LinkAdminService,LinkService,MastershipService,MeterService,MulticastRouteService,NetworkConfigRegistry,NetworkConfigService,PartitionService,PiPipeconfService,PiPipeconfWatchdogService,RegionAdminService,RegionService,ResourceService,TopologyService,UpgradeService,WorkPartitionService
- All Known Implementing Classes:
AbstractListenerManager,AbstractListenerProviderRegistry,DeviceServiceAdapter,ForwardingDeviceService,ListenerRegistry,NetworkConfigRegistryAdapter,NetworkConfigServiceAdapter
public interface ListenerService<E extends Event,L extends EventListener<E>>Abstraction of a service capable of asynchronously notifying listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(L listener)Adds the specified listener.voidremoveListener(L listener)Removes the specified listener.
-