@Singleton public class AlivenessMonitor extends org.opendaylight.serviceutils.tools.listener.AbstractClusteredSyncDataTreeChangeListener<MonitoringState> implements AlivenessMonitorService, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
Constructor and Description |
---|
AlivenessMonitor(org.opendaylight.mdsal.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.mdsal.binding.api.DataBroker |
getDataBroker() |
protected org.opendaylight.serviceutils.tools.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.mdsal.binding.api.DataTreeModification<T>> arg0,
org.opendaylight.serviceutils.tools.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) |
onDataTreeChanged
@Inject public AlivenessMonitor(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, IdManagerService idManager, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService, AlivenessProtocolHandlerRegistry alivenessProtocolHandlerRegistry)
@PreDestroy public void close()
close
in interface AutoCloseable
close
in class org.opendaylight.serviceutils.tools.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.PacketProcessingListener
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStartOutput>> monitorStart(MonitorStartInput input)
monitorStart
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorPauseOutput>> monitorPause(MonitorPauseInput input)
monitorPause
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorUnpauseOutput>> monitorUnpause(MonitorUnpauseInput input)
monitorUnpause
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileCreateOutput>> monitorProfileCreate(MonitorProfileCreateInput input)
monitorProfileCreate
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileGetOutput>> monitorProfileGet(MonitorProfileGetInput input)
monitorProfileGet
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorProfileDeleteOutput>> monitorProfileDelete(MonitorProfileDeleteInput input)
monitorProfileDelete
in interface AlivenessMonitorService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MonitorStopOutput>> monitorStop(MonitorStopInput input)
monitorStop
in interface AlivenessMonitorService
public 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.mdsal.binding.api.DataBroker getDataBroker()
protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()
public void onDataTreeChanged(@Nonnull Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
Copyright © 2019 OpenDaylight. All rights reserved.