org.openmuc.sunnywebbox
Class SunnyWebboxDevice
java.lang.Object
org.openmuc.sunnywebbox.SunnyWebboxDevice
public class SunnyWebboxDevice
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SunnyWebboxDevice
public SunnyWebboxDevice(DeviceURI url)
throws java.net.UnknownHostException,
java.net.SocketException
- Throws:
java.net.UnknownHostException
java.net.SocketException
SunnyWebboxDevice
public SunnyWebboxDevice(java.lang.String comPort)
throws java.net.UnknownHostException,
java.net.SocketException
- Throws:
java.net.UnknownHostException
java.net.SocketException
getUrl
public DeviceURI getUrl()
getListOfConnectedDevices
public java.util.List<java.lang.String> getListOfConnectedDevices()
throws java.io.IOException,
org.json.simple.parser.ParseException
- Returns a List of Connected Devices.
- Returns:
-
- Throws:
java.io.IOException
org.json.simple.parser.ParseException
getMeasurements
public java.util.Vector<Measurement> getMeasurements(java.util.List<ChannelIdentifier> channels)
throws MalformedObjectLocatorException,
java.io.IOException
- Returns
- Parameters:
channels
-
- Returns:
-
- Throws:
MalformedObjectLocatorException
java.io.IOException
org.json.simple.parser.ParseException
getChannelsForDevice
public java.util.List<ChannelInformation> getChannelsForDevice(java.lang.String device)
throws java.io.IOException,
org.json.simple.parser.ParseException
- Throws:
java.io.IOException
org.json.simple.parser.ParseException