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 SummaryModifier and TypeMethodDescriptionvoidclose()Deprecated.voidonBecomeOwner(@NonNull DeviceInfo deviceInfo) Deprecated.Event when device is ready as a master.voidonLoseOwnership(@NonNull DeviceInfo deviceInfo) Deprecated.Event when device disconnected or become slave.toString()Deprecated.
- 
Method Details- 
closeDeprecated.- Specified by:
- closein interface- AutoCloseable
- Throws:
- Exception
 
- 
onBecomeOwnerDeprecated.Description copied from interface:MastershipChangeServiceEvent when device is ready as a master. This event is evoked byOwnershipChangeListener.becomeMaster(DeviceInfo)- Specified by:
- onBecomeOwnerin interface- MastershipChangeService
- Parameters:
- deviceInfo- connected switch identification
 
- 
onLoseOwnershipDeprecated.Description copied from interface:MastershipChangeServiceEvent when device disconnected or become slave. This event is evoked byOwnershipChangeListener.becomeSlaveOrDisconnect(DeviceInfo)- Specified by:
- onLoseOwnershipin interface- MastershipChangeService
- Parameters:
- deviceInfo- connected switch identification
 
- 
toStringDeprecated.
 
-