Class BmpMonitoringStationImpl
java.lang.Object
org.opendaylight.protocol.bmp.impl.app.BmpMonitoringStationImpl
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
,BmpMonitoringStation
,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
public final class BmpMonitoringStationImpl
extends Object
implements BmpMonitoringStation, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
Constructor Summary
ConstructorDescriptionBmpMonitoringStationImpl
(org.opendaylight.mdsal.dom.api.DOMDataBroker domDataBroker, BmpDispatcher dispatcher, RIBExtensionConsumerContext extensions, org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTree codecTree, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonProvider, MonitorId monitorId, InetSocketAddress address, Collection<MonitoredRouter> mrs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier
void
-
Constructor Details
-
BmpMonitoringStationImpl
public BmpMonitoringStationImpl(org.opendaylight.mdsal.dom.api.DOMDataBroker domDataBroker, BmpDispatcher dispatcher, RIBExtensionConsumerContext extensions, org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTree codecTree, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonProvider, MonitorId monitorId, InetSocketAddress address, Collection<MonitoredRouter> mrs)
-
-
Method Details
-
instantiateServiceInstance
public void instantiateServiceInstance()- Specified by:
instantiateServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> closeServiceInstance()- Specified by:
closeServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
getIdentifier
public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()- Specified by:
getIdentifier
in interfaceorg.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-