|
2010-01-26 1.2.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
org.eclipse.soda.dk.barcode.reader.transport.testcase.BarcodeReaderExtendedTransport
public class BarcodeReaderExtendedTransport
| Field Summary | |
|---|---|
protected int |
inputMessageCounter
Define the input message counter (int) field. |
protected MessageService |
message
Define the message (MessageService) field. |
| Fields inherited from class org.eclipse.soda.dk.barcode.reader.transport.BarcodeReaderTransport |
|---|
CLASS_NAME |
| Constructor Summary | |
|---|---|
BarcodeReaderExtendedTransport()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
fireMessageReceived(ChannelService channel,
java.lang.Object timestamp,
MessageService message)
Fire message received with the specified channel, time stamp and message parameters. |
MessageService |
getMessage()
Gets the message (MessageService) value. |
int |
processInputExtended(byte[] bytes,
int length)
Process input extended with the specified bytes and length parameters and return the int result. |
void |
setMessage(MessageService message)
Sets the message value. |
int |
updateInputMessageCount(ChannelService channel)
Update input message count with the specified channel parameter and return the int result. |
| Methods inherited from class org.eclipse.soda.dk.barcode.reader.transport.BarcodeReaderTransport |
|---|
addToBufferedMessage, addToBufferedMessage, beginIndex, clearBufferedMessage, getBeginChar, getBufferedMessage, getDefaultConnection, getDefaultSerialConnection, getDefaultTcpipConnection, getDelimiterChar, getEndChar, getMessageBegin, getMessageEnd, getMessageMinimumSize, processBarcode, processInput, same, sendBarcode, setBeginChar, setDelimiterChar, setEndChar, setMessageBegin, setMessageEnd, setMessageMinimumSize, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int inputMessageCounter
protected MessageService message
| Constructor Detail |
|---|
public BarcodeReaderExtendedTransport()
| Method Detail |
|---|
public void fireMessageReceived(ChannelService channel,
java.lang.Object timestamp,
MessageService message)
channel - The channel (ChannelService) parameter.timestamp - The time stamp (Object) parameter.message - The message (MessageService) parameter.public MessageService getMessage()
MessageService) value.setMessage(MessageService)
public int processInputExtended(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 void setMessage(MessageService message)
message - The message (MessageService) parameter.getMessage()public int updateInputMessageCount(ChannelService channel)
channel - The channel (ChannelService) parameter.
int) value.
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||