public class ReconciliationFrameworkServiceDelegate extends Object implements ReconciliationFrameworkEvent, ReconciliationFrameworkRegistration
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Void> |
onDeviceDisconnected(DeviceInfo deviceInfo)
This event occurs after device is disconnected or being slaved.
|
com.google.common.util.concurrent.ListenableFuture<ResultState> |
onDevicePrepared(DeviceInfo deviceInfo)
Event when device is ready as a master but not yet submitted in data store.
|
String |
toString() |
public void close() throws Exception
close
in interface AutoCloseable
Exception
public com.google.common.util.concurrent.ListenableFuture<ResultState> onDevicePrepared(@Nonnull DeviceInfo deviceInfo)
ReconciliationFrameworkEvent
OwnershipChangeListener.becomeMasterBeforeSubmittedDS(DeviceInfo)
onDevicePrepared
in interface ReconciliationFrameworkEvent
deviceInfo
- connected switch identificationpublic com.google.common.util.concurrent.ListenableFuture<Void> onDeviceDisconnected(@Nonnull DeviceInfo deviceInfo)
ReconciliationFrameworkEvent
MastershipChangeService.onLoseOwnership(DeviceInfo)
. This event is used by
reconciliation framework that the framework don't need to register MastershipChangeService
onDeviceDisconnected
in interface ReconciliationFrameworkEvent
deviceInfo
- connected switch identificationMastershipChangeService
Copyright © 2018 OpenDaylight. All rights reserved.