net.sourceforge.apphere
Class DeviceManager
java.lang.Object
net.sourceforge.apphere.DeviceManager
- public class DeviceManager
- extends java.lang.Object
- Author:
- Dewi Roberts
Chimera - Institute for Socio-Technical Innovation and Research
University of Essex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceManager
public DeviceManager()
addDevice
public int addDevice(DeviceValue newDev)
throws AppHereException
- Throws:
AppHereException
updateDevice
public void updateDevice(DeviceValue device)
throws AppHereException
- Throws:
AppHereException
removeDevice
public void removeDevice(int userId,
int deviceId)
throws AppHereException
- Throws:
AppHereException
getDevice
public Device getDevice(int userId,
int deviceId)
throws AppHereException
- Throws:
AppHereException
getDevice
public Device getDevice(java.net.InetAddress ip)
throws AppHereException
- Throws:
AppHereException
getDevices
public java.util.List getDevices(int userId)
throws AppHereException
- Throws:
AppHereException