|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectResponseTransport
org.eclipse.soda.dk.epcglobal.llrp.transport.EpcglobalLlrpTransport
public class EpcglobalLlrpTransport
EPCglobal Low Level Reader Protocol (LLRP) Transport.
The devicekit properties keys and default values.
| epcgloballlrptransport.linger | -1 |
| epcgloballlrptransport.readtimeout | 1000 |
| epcgloballlrptransport.readsize | -1 |
| epcgloballlrptransport.localport | -1 |
| epcgloballlrptransport.host | epcgloballlrp |
| epcgloballlrptransport.writesize | -1 |
| epcgloballlrptransport.remoteport | 5084 |
| epcgloballlrptransport.connection | tcpip |
| epcgloballlrptransport.responsetimeout | 1000 |
The list of exported services:
EpcglobalLlrpTransportService,
See the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
Url:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the full class name. |
protected ParameterMessage |
noActivityMessage
|
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.transport.service.EpcglobalLlrpTransportService |
|---|
DEFAULT_HOST, DEFAULT_LINGER, DEFAULT_LOCALPORT, DEFAULT_READSIZE, DEFAULT_READTIMEOUT, DEFAULT_REMOTEPORT, DEFAULT_WRITESIZE, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, ReaderEventParameter, SERVICE_NAME |
| Constructor Summary | |
|---|---|
EpcglobalLlrpTransport()
Constructs a new instance of the EpcglobalLlrpTransport class. |
|
| Method Summary | |
|---|---|
ConnectionService |
getDefaultConnection()
Gets the default connection. |
long |
getDefaultResponseTimeout()
Gets the default response timeout. |
TcpipConnectionService |
getDefaultTcpipConnection()
Gets the default tcpip connection. |
MessageService |
noActivityProcessingMessage()
|
void |
parsedMessage(int messageType,
byte[] bytes,
boolean maybeResponse,
java.lang.Object timestamp)
This method is invoked by the transport as a notification that a message coming from the device has been parsed |
protected int |
processInput(byte[] bytes,
int length)
Perform the processInput action method. |
void |
setup()
Sets user-defined variables to use in the test. |
void |
setupCustom()
Setup custom. |
void |
shutdown(boolean output)
Shutdown with the specified output parameter. |
int |
startup(boolean output)
Startup with the specified output parameter and return the int result. |
void |
startupMessageReceived(TransportService source,
java.lang.Object timestamp,
MessageService msg)
Startup message received with the specified source, timestamp and msg parameters. |
protected void |
write(byte[] bytes,
long responseTimeout)
|
| 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
protected ParameterMessage noActivityMessage
| Constructor Detail |
|---|
public EpcglobalLlrpTransport()
| Method Detail |
|---|
protected int processInput(byte[] bytes,
int length)
throws java.lang.Exception
bytes - The bytes (byte[]) parameter.length - The length (int) parameter.
java.lang.Exception
public int startup(boolean output)
throws java.lang.Exception
output - The output (boolean) parameter.
int) value.
java.lang.Exception - Exception.public MessageService noActivityProcessingMessage()
public void parsedMessage(int messageType,
byte[] bytes,
boolean maybeResponse,
java.lang.Object timestamp)
messageType - The message type (int) parameter.bytes - The bytes (byte[]) parameter.maybeResponse - The maybe response (boolean) parameter.timestamp - The timestamp (Object) parameter.public void setupCustom()
public void shutdown(boolean output)
output - The output (boolean) parameter.
public void startupMessageReceived(TransportService source,
java.lang.Object timestamp,
MessageService msg)
source - The source (TransportService) parameter.timestamp - The timestamp (Object) parameter.msg - The msg (MessageService) parameter.
protected void write(byte[] bytes,
long responseTimeout)
throws java.lang.Exception
bytes - The bytes (byte[]) parameter.responseTimeout - The response timeout (long) parameter.
java.lang.Exception - Exception.public ConnectionService getDefaultConnection()
public long getDefaultResponseTimeout()
public TcpipConnectionService getDefaultTcpipConnection()
public void setup()
User defined properties and default values.
| retrytime | DEFAULT_RETRY_TIME |
| noactivitytimeout | DEFAULT_NO_ACTIVITY_TIMEOUT |
org.eclipse.soda.dk.transport.Transport#setup()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||