public class TagAccess.Sequence
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
TagAccess.Sequence.Operation
This class represents a single operation that is to be added to the
Tag Access Operation Sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
add(TagAccess.Sequence.Operation operation)
Adds an operation to the Tag Access Sequence.
|
void |
delete(TagAccess.Sequence.Operation operation)
Removes an already added operation from the Tag Access Sequence.
|
void |
deleteAll()
Removes all added operations from the Tag Access Sequence.
|
int |
getLength()
Get the Operation Sequence Length
|
java.lang.Object |
getOperation(int index)
Returns the operation already added at specified index before the sequence operation is executed.
|
void |
performSequence()
This method starts the execution of all operations in the Tag Access Sequence in the order in which
the operations were added.
|
void |
performSequence(AccessFilter accessFilterInfo,
TriggerInfo triggerInfo,
AntennaInfo antennaInfo)
This method starts the execution of all operations in the Tag Access Sequence in the order in which
the operations were added.
|
void |
stopSequence()
This method stops the execution of the Tag Access Operation Sequence.
|
public Sequence(TagAccess tagAccess)
public void performSequence() throws InvalidUsageException, OperationFailureException
public void performSequence(AccessFilter accessFilterInfo, TriggerInfo triggerInfo, AntennaInfo antennaInfo) throws InvalidUsageException, OperationFailureException
accessFilterInfo
- Access Filter which determines the Tags on which the
Access operation sequence is to be performed. If this is null, operation will be perfomed
without any access filters.triggerInfo
- Start/Stop criteria for current operation.
If null, no trigger criteria will be used, which means
the operation starts immediatly and stops when StopSequence() is invoked.antennaInfo
- Antennas on which the current operation is to be performed. If this is null,
operation will be performed on all Antennas.InvalidUsageException
OperationFailureException
public void stopSequence() throws InvalidUsageException, OperationFailureException
public int getLength()
public java.lang.Object getOperation(int index) throws InvalidUsageException
index
- InvalidUsageException
public void add(TagAccess.Sequence.Operation operation) throws InvalidUsageException, OperationFailureException
operation
- InvalidUsageException
OperationFailureException
public void delete(TagAccess.Sequence.Operation operation) throws InvalidUsageException, OperationFailureException
operation
- InvalidUsageException
OperationFailureException
public void deleteAll() throws InvalidUsageException, OperationFailureException