Class MastershipServiceDelegate
java.lang.Object
org.opendaylight.openflowplugin.impl.mastership.MastershipServiceDelegate
- All Implemented Interfaces:
AutoCloseable
,MastershipChangeRegistration
,MastershipChangeService
@Deprecated
public class MastershipServiceDelegate
extends Object
implements MastershipChangeService, MastershipChangeRegistration
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.void
onBecomeOwner
(@NonNull DeviceInfo deviceInfo) Deprecated.Event when device is ready as a master.void
onLoseOwnership
(@NonNull DeviceInfo deviceInfo) Deprecated.Event when device disconnected or become slave.toString()
Deprecated.
-
Method Details
-
close
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
onBecomeOwner
Deprecated.Description copied from interface:MastershipChangeService
Event when device is ready as a master. This event is evoked byOwnershipChangeListener.becomeMaster(DeviceInfo)
- Specified by:
onBecomeOwner
in interfaceMastershipChangeService
- Parameters:
deviceInfo
- connected switch identification
-
onLoseOwnership
Deprecated.Description copied from interface:MastershipChangeService
Event when device disconnected or become slave. This event is evoked byOwnershipChangeListener.becomeSlaveOrDisconnect(DeviceInfo)
- Specified by:
onLoseOwnership
in interfaceMastershipChangeService
- Parameters:
deviceInfo
- connected switch identification
-
toString
Deprecated.
-