Package org.onosproject.net.key
Interface DeviceKeyAdminService
- 
- All Superinterfaces:
 DeviceKeyService,ListenerService<DeviceKeyEvent,DeviceKeyListener>
@Beta public interface DeviceKeyAdminService extends DeviceKeyService
Service for managing device keys. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddKey(DeviceKey deviceKey)Adds a new device key to the store.voidremoveKey(DeviceKeyId id)Removes a device key from the store using the device key identifier.- 
Methods inherited from interface org.onosproject.net.key.DeviceKeyService
getDeviceKey, getDeviceKeys 
- 
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener 
 - 
 
 - 
 
- 
- 
Method Detail
- 
addKey
void addKey(DeviceKey deviceKey)
Adds a new device key to the store.- Parameters:
 deviceKey- device key to be stored
 
- 
removeKey
void removeKey(DeviceKeyId id)
Removes a device key from the store using the device key identifier.- Parameters:
 id- device key identifier used to identify the device key
 
 - 
 
 -