|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectConnectionTransport
org.eclipse.soda.dk.barcode.reader.transport.BarcodeReaderTransport
public class BarcodeReaderTransport
Standard Barcode Reader.
The Device Kit properties keys and default values.
| barcodereadertransport.baudrate | 9600 |
| barcodereadertransport.parity | none |
| barcodereadertransport.writetotaltimeout | 100 |
| barcodereadertransport.softwareflowcontrol | 0 |
| barcodereadertransport.stopbits | 1 |
| barcodereadertransport.hardwareflowcontrol | 0 |
| barcodereadertransport.readintervaltimeout | 50 |
| barcodereadertransport.readtotaltimeout | 1000 |
| barcodereadertransport.comport | 1 |
| barcodereadertransport.databits | 8 |
| barcodereadertransport.localport | -1 |
| barcodereadertransport.readtimeout | 1000 |
| barcodereadertransport.host | localhost |
| barcodereadertransport.readsize | -1 |
| barcodereadertransport.remoteport | 8901 |
| barcodereadertransport.linger | -1 |
| barcodereadertransport.writesize | -1 |
| barcodereadertransport.connection | serial |
| barcodereadertransport.MessageMinimumSize | 1 |
The list of exported services:
BarcodeReaderTransportService,
org.eclipse.soda.dk.transport.service.TransportService| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the full class name. |
| Fields inherited from interface org.eclipse.soda.dk.barcode.reader.transport.service.BarcodeReaderTransportService |
|---|
DEFAULT_BAUDRATE, DEFAULT_COMPORT, DEFAULT_DATABITS, DEFAULT_HOST, DEFAULT_HWFLOW, DEFAULT_LINGER, DEFAULT_LOCALPORT, DEFAULT_MESSAGEMINIMUMSIZE, DEFAULT_PARITY, DEFAULT_READINTERVALTIMEOUT, DEFAULT_READSIZE, DEFAULT_READTIMEOUT, DEFAULT_READTOTALTIMEOUT, DEFAULT_REMOTEPORT, DEFAULT_STOPBITS, DEFAULT_SWFLOW, DEFAULT_WRITESIZE, DEFAULT_WRITETOTALTIMEOUT, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, MESSAGE_MINIMUM_SIZE, MESSAGE_MINIMUM_SIZE_DEFAULT, MESSAGEMINIMUMSIZE_DEFAULT, MESSAGEMINIMUMSIZE_KEY, SERVICE_NAME |
| Constructor Summary | |
|---|---|
BarcodeReaderTransport()
Constructs a new instance of the BarcodeReaderTransport class. |
|
| Method Summary | |
|---|---|
ConnectionService |
getDefaultConnection()
Gets the default connection. |
SerialConnectionService |
getDefaultSerialConnection()
Gets the default serial connection. |
TcpipConnectionService |
getDefaultTcpipConnection()
Gets the default tcpip connection. |
int |
getMessageMinimumSize()
Gets the value of message minimum size custom parameter. |
protected int |
processInput(byte[] bytes,
int length)
Process input with the specified bytes and length parameters and return the int result. |
void |
setMessageMinimumSize(int MessageMinimumSize)
Sets the value of message minimum size custom parameter. |
void |
setup()
Sets user-defined variables to use in the test. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
| Constructor Detail |
|---|
public BarcodeReaderTransport()
| Method Detail |
|---|
protected int processInput(byte[] bytes,
int length)
throws java.lang.Exception
bytes - The bytes (byte[]) parameter.length - The length (int) parameter.
int) value.
java.lang.Exception - Exception.public ConnectionService getDefaultConnection()
public SerialConnectionService getDefaultSerialConnection()
public TcpipConnectionService getDefaultTcpipConnection()
public int getMessageMinimumSize()
setMessageMinimumSize(int)public void setMessageMinimumSize(int MessageMinimumSize)
MessageMinimumSize - The message minimum size custom parameter.getMessageMinimumSize()public void setup()
User defined properties and default values.
| barcodereadertransport.MessageMinimumSize | 1 |
| retrytime | DEFAULT_RETRY_TIME |
| noactivitytimeout | DEFAULT_NO_ACTIVITY_TIMEOUT |
org.eclipse.soda.dk.transport.Transport#setup()
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||