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
Constructors Constructor Description BmpMonitoringStationImpl(BmpDeployerDependencies bmpDeployerDependencies, BmpDispatcher dispatcher, MonitorId monitorId, InetSocketAddress address, List<MonitoredRouter> mrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
closeServiceInstance()
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier
getIdentifier()
void
instantiateServiceInstance()
-
-
-
Constructor Detail
-
BmpMonitoringStationImpl
public BmpMonitoringStationImpl(BmpDeployerDependencies bmpDeployerDependencies, BmpDispatcher dispatcher, MonitorId monitorId, InetSocketAddress address, List<MonitoredRouter> mrs)
-
-
Method Detail
-
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
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-