Class RoleManagerImpl
java.lang.Object
org.opendaylight.openflowplugin.impl.role.RoleManagerImpl
- All Implemented Interfaces:
AutoCloseable
,DeviceRemovedHandler
,OFPManager
,RoleManager
-
Constructor Summary
ConstructorDescriptionRoleManagerImpl
(io.netty.util.HashedWheelTimer timer, OpenflowProviderConfig config, ExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createContext
(@NonNull DeviceContext deviceContext) Create role context.void
onDeviceRemoved
(DeviceInfo deviceInfo) Method is used to propagate information about device being removed from manager.
-
Constructor Details
-
RoleManagerImpl
public RoleManagerImpl(io.netty.util.HashedWheelTimer timer, OpenflowProviderConfig config, ExecutorService executorService)
-
-
Method Details
-
createContext
Description copied from interface:RoleManager
Create role context.- Specified by:
createContext
in interfaceRoleManager
- Parameters:
deviceContext
- the device context- Returns:
- the role context
-
onDeviceRemoved
Description copied from interface:DeviceRemovedHandler
Method is used to propagate information about device being removed from manager.- Specified by:
onDeviceRemoved
in interfaceDeviceRemovedHandler
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceOFPManager
-