public class ReadTransponderCommand extends TransponderMemoryCommandBase implements ISelectControlParameters, IQAlgorithmParameters, IQueryParameters
LibraryCommandId
Constructor and Description |
---|
ReadTransponderCommand()
Initializes a new instance of the ReadTransponderCommand class
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildCommandLine(java.lang.StringBuilder line)
Builds the command line to send to the reader to execute the command
|
TriState |
getFilterStrongest() |
TriState |
getIncludeEpc() |
TriState |
getInventoryOnly() |
QtMode |
getQtMode() |
QuerySelect |
getQuerySelect()
Gets or sets the transponders to include based on the select flag state
|
QuerySession |
getQuerySession()
Gets or sets the transponders to include based on the select flag state
|
QueryTarget |
getQueryTarget()
Gets or sets the session state of the transponders to be included in this operation
|
SelectAction |
getSelectAction()
Gets or sets the action to perform in the Select operation
|
SelectTarget |
getSelectTarget()
Gets or sets the target flag for the Select operation
|
ITransponderReceivedDelegate |
getTransponderReceivedDelegate() |
protected boolean |
responseDidReceiveParameter(java.lang.String parameter)
This method is called for each parameter in the parameters (PR:) list.
|
void |
setFilterStrongest(TriState value) |
void |
setIncludeEpc(TriState value) |
void |
setInventoryOnly(TriState value) |
void |
setQtMode(QtMode QtMode) |
void |
setQuerySelect(QuerySelect value) |
void |
setQuerySession(QuerySession value) |
void |
setQueryTarget(QueryTarget value) |
void |
setSelectAction(SelectAction value) |
void |
setSelectTarget(SelectTarget value) |
void |
setTransponderReceivedDelegate(ITransponderReceivedDelegate listener) |
static ReadTransponderCommand |
synchronousCommand()
Returns a new instance of the command class that will execute synchronously (as its own responder)
|
void |
transponderReceived(TransponderData transponder,
boolean moreAvailable)
Called for each transponder received in the response
Note: Invoked on a non-UI thread
|
clearLastResponse, getAccessPassword, getBank, getData, getIncludeChecksum, getIncludeDateTime, getIncludeIndex, getIncludePC, getIncludeTransponderRssi, getLength, getOffset, getOutputPower, getQAlgorithm, getQValue, getReadParameters, getResetParameters, getSelectBank, getSelectData, getSelectLength, getSelectOffset, getTakeNoAction, getUseAlert, implementsReadParameters, implementsResetParameters, implementsTakeNoAction, processReceivedLine, responseDidFinish, setAccessPassword, setBank, setData, setIncludeChecksum, setIncludeDateTime, setIncludeIndex, setIncludePC, setIncludeTransponderRssi, setLength, setOffset, setOutputPower, setQAlgorithm, setQValue, setReadParameters, setResetParameters, setSelectBank, setSelectData, setSelectLength, setSelectOffset, setTakeNoAction, setUseAlert
getMaxSynchronousWaitTime, getSynchronousCommandResponder, setMaxSynchronousWaitTime, setSynchronousCommandResponder
captureNonLibraryResponses, setCaptureNonLibraryResponses
getCommandLine, getCommandName, getResponseLifecycleDelegate, getResponseStarted, isResponseFinished, parseParameters, processReceivedLine, responseDidStart, setCommandName, setResponseLifecycleDelegate, setResponseStarted, splitParameters
appendToMessages, appendToParameters, appendToResponse, getErrorCode, getMessages, getParameters, getResponse, isSuccessful, setErrorCode, setIsSuccessful, setResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getQAlgorithm, getQValue, setQAlgorithm, setQValue
getCommandLine, getCommandName
public ReadTransponderCommand()
public final ITransponderReceivedDelegate getTransponderReceivedDelegate()
public final void setTransponderReceivedDelegate(ITransponderReceivedDelegate listener)
public final TriState getIncludeEpc()
public final void setIncludeEpc(TriState value)
public final TriState getInventoryOnly()
public final void setInventoryOnly(TriState value)
public final SelectAction getSelectAction()
ISelectControlParameters
getSelectAction
in interface ISelectControlParameters
public final void setSelectAction(SelectAction value)
setSelectAction
in interface ISelectControlParameters
public final SelectTarget getSelectTarget()
ISelectControlParameters
getSelectTarget
in interface ISelectControlParameters
public final void setSelectTarget(SelectTarget value)
setSelectTarget
in interface ISelectControlParameters
public final QuerySelect getQuerySelect()
IQueryParameters
getQuerySelect
in interface IQueryParameters
public final void setQuerySelect(QuerySelect value)
setQuerySelect
in interface IQueryParameters
public final QuerySession getQuerySession()
IQueryParameters
getQuerySession
in interface IQueryParameters
public final void setQuerySession(QuerySession value)
setQuerySession
in interface IQueryParameters
public final QueryTarget getQueryTarget()
IQueryParameters
getQueryTarget
in interface IQueryParameters
public final void setQueryTarget(QueryTarget value)
setQueryTarget
in interface IQueryParameters
public QtMode getQtMode()
public void setQtMode(QtMode QtMode)
public final TriState getFilterStrongest()
public final void setFilterStrongest(TriState value)
public static ReadTransponderCommand synchronousCommand()
protected void buildCommandLine(java.lang.StringBuilder line)
buildCommandLine
in class TransponderMemoryCommandBase
line
- The command line to append to
When overriding this method call the base class to construct the command line as known to the base class and
then append the additional parameters to the end of the lineprotected boolean responseDidReceiveParameter(java.lang.String parameter)
responseDidReceiveParameter
in class TransponderMemoryCommandBase
parameter
- A single parameter extracted from the PR: response, excluding the '-' and trimmed of leading and trailing whitespacepublic void transponderReceived(TransponderData transponder, boolean moreAvailable)
transponderReceived
in interface ITransponderReceivedDelegate
transponderReceived
in class TransponderMemoryCommandBase
transponder
- a transponder response from an Inventory, Read or Write commandmoreAvailable
- true if there are more transponders