@Deprecated public interface DeviceFactory
| Modifier and Type | Method and Description |
|---|---|
Device |
addDevice(String id,
String token)
Deprecated.
Add a device to the map
|
Device |
getDevice(String id)
Deprecated.
Get a device according to his id
|
void |
removeDevice(String id)
Deprecated.
Remove a device
|
Device addDevice(String id, String token) throws Exception
id - The local device idtoken - The device tokenDuplicateDeviceExceptionNullIdExceptionNullDeviceTokenExceptionExceptionDevice getDevice(String id) throws UnknownDeviceException, NullIdException
id - The local device idUnknownDeviceExceptionNullIdExceptionvoid removeDevice(String id) throws UnknownDeviceException, NullIdException
id - The local device idUnknownDeviceExceptionNullIdExceptionCopyright © 2016. All rights reserved.