@Singleton public class AlivenessMonitor extends org.opendaylight.serviceutils.tools.mdsal.listener.AbstractClusteredSyncDataTreeChangeListener<MonitoringState> implements AlivenessMonitorService, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
| Constructor and Description |
|---|
AlivenessMonitor(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IdManagerService idManager,
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService,
AlivenessProtocolHandlerRegistry alivenessProtocolHandlerRegistry) |
| Modifier and Type | Method and Description |
|---|---|
default void |
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
T arg1) |
void |
close() |
protected org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDataBroker() |
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics |
getDataStoreMetrics() |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorPauseOutput>> |
monitorPause(MonitorPauseInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileCreateOutput>> |
monitorProfileCreate(MonitorProfileCreateInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileDeleteOutput>> |
monitorProfileDelete(MonitorProfileDeleteInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileGetOutput>> |
monitorProfileGet(MonitorProfileGetInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStartOutput>> |
monitorStart(MonitorStartInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStopOutput>> |
monitorStop(MonitorStopInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorUnpauseOutput>> |
monitorUnpause(MonitorUnpauseInput input) |
default void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0,
org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1) |
void |
onInterfaceStateDown(String interfaceName) |
void |
onInterfaceStateUp(String interfaceName) |
void |
onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived) |
void |
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MonitoringState> instanceIdentifier,
MonitoringState removedDataObject) |
void |
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MonitoringState> instanceIdentifier,
MonitoringState originalDataObject,
MonitoringState updatedDataObject) |
@Inject
public AlivenessMonitor(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IdManagerService idManager,
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService,
AlivenessProtocolHandlerRegistry alivenessProtocolHandlerRegistry)
@PreDestroy public void close()
close in interface AutoCloseableclose in class org.opendaylight.serviceutils.tools.mdsal.listener.AbstractClusteredSyncDataTreeChangeListener<MonitoringState>public void onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
onPacketReceived in interface org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListenerpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStartOutput>> monitorStart(MonitorStartInput input)
monitorStart in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorPauseOutput>> monitorPause(MonitorPauseInput input)
monitorPause in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorUnpauseOutput>> monitorUnpause(MonitorUnpauseInput input)
monitorUnpause in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileCreateOutput>> monitorProfileCreate(MonitorProfileCreateInput input)
monitorProfileCreate in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileGetOutput>> monitorProfileGet(MonitorProfileGetInput input)
monitorProfileGet in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileDeleteOutput>> monitorProfileDelete(MonitorProfileDeleteInput input)
monitorProfileDelete in interface AlivenessMonitorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStopOutput>> monitorStop(MonitorStopInput input)
monitorStop in interface AlivenessMonitorServicepublic void onInterfaceStateUp(String interfaceName)
public void onInterfaceStateDown(String interfaceName)
public void remove(@Nonnull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MonitoringState> instanceIdentifier, @Nonnull MonitoringState removedDataObject)
public void update(@Nonnull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MonitoringState> instanceIdentifier, @Nonnull MonitoringState originalDataObject, @Nonnull MonitoringState updatedDataObject)
protected org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics getDataStoreMetrics()
public void onDataTreeChanged(@Nonnull Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
Copyright © 2019 OpenDaylight. All rights reserved.