Class RoleManagerImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.role.RoleManagerImpl
-
- All Implemented Interfaces:
AutoCloseable
,DeviceRemovedHandler
,OFPManager
,RoleManager
public class RoleManagerImpl extends Object implements RoleManager
-
-
Constructor Summary
Constructors Constructor Description RoleManagerImpl(io.netty.util.HashedWheelTimer timer, OpenflowProviderConfig config, ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
RoleContext
createContext(@NonNull DeviceContext deviceContext)
Create role context.void
onDeviceRemoved(DeviceInfo deviceInfo)
Method is used to propagate information about device being removed from manager.
-
-
-
Constructor Detail
-
RoleManagerImpl
public RoleManagerImpl(io.netty.util.HashedWheelTimer timer, OpenflowProviderConfig config, ExecutorService executorService)
-
-
Method Detail
-
createContext
public RoleContext createContext(@NonNull DeviceContext deviceContext)
Description copied from interface:RoleManager
Create role context.- Specified by:
createContext
in interfaceRoleManager
- Parameters:
deviceContext
- the device context- Returns:
- the role context
-
onDeviceRemoved
public void onDeviceRemoved(DeviceInfo deviceInfo)
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
-
-