public final class BmpMonitoringStationImpl extends Object implements BmpMonitoringStation, org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
Constructor and Description |
---|
BmpMonitoringStationImpl(BmpDeployerDependencies bmpDeployerDependencies,
BmpDispatcher dispatcher,
MonitorId monitorId,
InetSocketAddress address,
List<MonitoredRouter> mrs) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Void> |
closeServiceInstance() |
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier |
getIdentifier() |
void |
instantiateServiceInstance() |
public BmpMonitoringStationImpl(BmpDeployerDependencies bmpDeployerDependencies, BmpDispatcher dispatcher, MonitorId monitorId, InetSocketAddress address, List<MonitoredRouter> mrs)
public void instantiateServiceInstance()
instantiateServiceInstance
in interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
public com.google.common.util.concurrent.ListenableFuture<Void> closeServiceInstance()
closeServiceInstance
in interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
@Nonnull public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
getIdentifier
in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2018 OpenDaylight. All rights reserved.