2008-07-29 1.1.0

org.eclipse.soda.dk.barcode.reader.device
Class BarcodeReaderDevice

java.lang.Object
  extended by TransportDevice
      extended by org.eclipse.soda.dk.barcode.reader.device.BarcodeReaderDevice
All Implemented Interfaces:
BarcodeReaderDeviceService

public class BarcodeReaderDevice
extends TransportDevice
implements BarcodeReaderDeviceService

Standard Barcode Reader. The BarcodeReaderDevice class implements the BarcodeReaderDeviceService and provides the controls for the device.

The list of exported services:

Version:
1.1.0
See Also:
BarcodeReaderDeviceService, org.eclipse.soda.dk.device.service.DeviceService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.barcode.reader.device.service.BarcodeReaderDeviceService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, BARCODE_REPORT_ERROR_EXTERNAL_KEY, BARCODE_REPORT_EXTERNAL_KEY, BARCODE_REPORT_TRIGGER_EXTERNAL_KEY, BarcodeReaderDevice, BarcodeReport, BARCODEREPORT_ERROR_EXTERNAL_KEY, BARCODEREPORT_EXTERNAL_KEY, BARCODEREPORT_TRIGGER_EXTERNAL_KEY, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME
 
Constructor Summary
BarcodeReaderDevice()
          Constructs a new instance of the BarcodeReaderDevice class.
 
Method Summary
 int getControlCapacity()
          Gets the control capacity.
 java.lang.String getDefaultKey()
          Gets the default key of the device.
 TransportService getDefaultTransport()
          Gets the default TransportService.
 int getMessageCapacity()
          Gets the message capacity.
 java.lang.Object getMessageKey(MessageService message)
          Gets the message key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

See Also:
Constant Field Values
Constructor Detail

BarcodeReaderDevice

public BarcodeReaderDevice()
Constructs a new instance of the BarcodeReaderDevice class.

Method Detail

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key of the device.

Returns:
String The default key

getDefaultTransport

public TransportService getDefaultTransport()
Gets the default TransportService.

Returns:
TransportService The default TransportService.

getControlCapacity

public int getControlCapacity()
Gets the control capacity.

Returns:
The control capacity value.

getMessageCapacity

public int getMessageCapacity()
Gets the message capacity.

Returns:
int The message capacity.

getMessageKey

public java.lang.Object getMessageKey(MessageService message)
Gets the message key.

Parameters:
message - The message service.
Returns:
Object The message key.

2008-07-29 1.1.0

Copyright (c) 2008 IBM. See license in Legal section.