Package org.onosproject.net.key
Interface DeviceKeyService
- 
- All Superinterfaces:
 ListenerService<DeviceKeyEvent,DeviceKeyListener>
- All Known Subinterfaces:
 DeviceKeyAdminService
@Beta public interface DeviceKeyService extends ListenerService<DeviceKeyEvent,DeviceKeyListener>
Service for querying device keys. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceKeygetDeviceKey(DeviceKeyId deviceKeyId)Returns the device key using a device key identifier.Collection<DeviceKey>getDeviceKeys()Returns all device keys.- 
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDeviceKeys
Collection<DeviceKey> getDeviceKeys()
Returns all device keys.- Returns:
 - Collection of device keys
 
 
- 
getDeviceKey
DeviceKey getDeviceKey(DeviceKeyId deviceKeyId)
Returns the device key using a device key identifier.- Parameters:
 deviceKeyId- device key identifier- Returns:
 - device key
 
 
 - 
 
 -