com.cesys.cebo.cebomsr
Class LibraryInterface

java.lang.Object
  extended by com.cesys.cebo.cebomsr.LibraryInterface

public final class LibraryInterface
extends java.lang.Object

Class that is responsible for all device independent functionality.

Author:
Thomas Hoppe

Method Summary
static java.util.List<Device> enumerate(DeviceType type)
          Enumerate devices on this system.
static java.util.List<Device> enumerateNetwork(java.lang.String hostname, int port, DeviceType type)
          *** unofficial experimental feature, don't use ***
static java.lang.String getApiVersion()
          Request version of the CeboMsr-Base-API.
static java.lang.String getUsbBaseVersion()
          Request version of the underlying Cesys USB Base API Layer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApiVersion

public static java.lang.String getApiVersion()
                                      throws java.io.IOException
Request version of the CeboMsr-Base-API.

Throws:
java.io.IOException

getUsbBaseVersion

public static java.lang.String getUsbBaseVersion()
                                          throws java.io.IOException
Request version of the underlying Cesys USB Base API Layer.

Throws:
java.io.IOException

enumerate

public static java.util.List<Device> enumerate(DeviceType type)
                                        throws java.io.IOException
Enumerate devices on this system. Already opened devices are not included.

Throws:
java.io.IOException

enumerateNetwork

public static java.util.List<Device> enumerateNetwork(java.lang.String hostname,
                                                      int port,
                                                      DeviceType type)
                                               throws java.io.IOException
*** unofficial experimental feature, don't use ***

Throws:
java.io.IOException