2010-01-26 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper.task
Class Task_GET_READER_CAPABILITIES

java.lang.Object
  extended by EscObject
      extended by org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
          extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractLLRPTask
              extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.Task_GET_READER_CAPABILITIES
All Implemented Interfaces:
ILLRPCapabilities, ITask

public class Task_GET_READER_CAPABILITIES
extends AbstractLLRPTask
implements ILLRPCapabilities

Since:
1.0
Version:
1.2.0

Field Summary
static java.lang.String TASKNAME
          Define the taskname (String) constant.
 
Fields inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
EMPTY_RESULT, listenerLock, timerLock
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask
ABORT, ERROR, REPORT, STATE_RUNNING, STATE_STANDBY, SUCCESS, TIMEOUT
 
Constructor Summary
Task_GET_READER_CAPABILITIES(CommandService command, java.util.Map parameters, SignalService signal)
          Constructs an instance of this class from the specified command, parameters and signal parameters.
Task_GET_READER_CAPABILITIES(CommandService command, java.util.Map parameters, SignalService signal, long timeoutValue)
          Constructs an instance of this class from the specified command, parameters, signal and timeout value parameters.
Task_GET_READER_CAPABILITIES(CommandService command, SignalService signal)
          Constructs an instance of this class from the specified command and signal parameters.
 
Method Summary
 boolean duplicateTask(ITask task)
          Duplicate task with the specified task parameter and return the boolean result.
 java.util.Map getCapabilities()
          Gets the capabilities (Map) value.
 int getClientRequestOpSpecTimeout()
          Gets the client request op spec timeout (int) value.
 int getCommunicationsStandard()
          Gets the communications standard (int) value.
 int getCountryCode()
          Gets the country code (int) value.
 int getDeviceManufacturerName()
          Gets the device manufacturer name (int) value.
 int getMaxNumAccessSpecs()
          Gets the max num access specs (int) value.
 int getMaxNumberOfAntennaSupported()
          Gets the max number of antenna supported (int) value.
 int getMaxNumInventoryParameterSpecsperAISpec()
          Gets the max num inventory parameter specsper aispec (int) value.
 int getMaxNumOpSpecsPerAccessSpec()
          Gets the max num op specs per access spec (int) value.
 int getMaxNumROSpecs()
          Gets the max num rospecs (int) value.
 int getMaxNumSelectFiltersPerQuery()
          Gets the max num select filters per query (int) value.
 int getMaxNumSpecsPerROSpecs()
          Gets the max num specs per rospecs (int) value.
 int getMaxPriorityLevelSupported()
          Gets the max priority level supported (int) value.
 int getModelName()
          Gets the model name (int) value.
 int getNumGPIs()
          Gets the num gpis (int) value.
 int getNumGPOs()
          Gets the num gpos (int) value.
 java.util.List getPerAntennaAirProtocol()
          Gets the per antenna air protocol (List) value.
 java.util.List getPerAntennaReceiveSensitivityRange()
          Gets the per antenna receive sensitivity range (List) value.
 java.lang.String getReaderFirmwareVersion()
          Gets the reader firmware version (String) value.
 java.util.List getReceiveSensitivityTable()
          Gets the receive sensitivity table (List) value.
 java.lang.String getTaskName()
          Gets the task name (String) value.
 java.util.Map getUHFBandCapabilities()
          Gets the uhfband capabilities (Map) value.
 void handleResponse(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Handle response with the specified source, timestamp and data parameters.
 boolean isCanDoRFSurvey()
          Gets the can do rfsurvey (boolean) value.
 boolean isCanDoTagInventoryStateAwaresingulation()
          Gets the can do tag inventory state awaresingulation (boolean) value.
 boolean isCanReportBufferFillWarning()
          Gets the can report buffer fill warning (boolean) value.
 boolean isCanSetAntennaProperties()
          Gets the can set antenna properties (boolean) value.
 boolean isCanSupportBlockErase()
          Gets the can support block erase (boolean) value.
 boolean isCanSupportBlockWrite()
          Gets the can support block write (boolean) value.
 boolean isHasUTCClockCapability()
          Gets the has utcclock capability (boolean) value.
protected  boolean isSameTaskType(ITask task)
          Is same task type with the specified task parameter and return the boolean result.
 boolean isSupportsClientRequestOpSpec()
          Gets the supports client request op spec (boolean) value.
 boolean isSupportsEventAndREportHolding()
          Gets the supports event and report holding (boolean) value.
 java.lang.String printAllCapabilities()
          Print all capabilities and return the String result.
 java.lang.String printC1G2LLRPCapabilities()
          Print c1 g2 llrpcapabilities and return the String result.
 java.lang.String printGeneralDeviceCapabilities()
          Print general device capabilities and return the String result.
 java.lang.String printLLRPCapabilities()
          Print llrpcapabilities and return the String result.
 java.lang.String printRegulatoryCapabilities()
          Print regulatory capabilities and return the String result.
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractLLRPTask
getCommand, getErrorCode, getErrorFields, getParameters, getSignal, isResponseExpected, launchTask, matchResponse, setCommand, setParameters, setSignal, successInLLRPStatus
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
abort, addTaskListener, getState, getTaskListeners, getTaskManager, getTaskOwner, isRemoveListenerRequired, notifyListener, preNotifyListener, removeTaskListener, removeTaskListenerNoThread, reset, setState, setTaskListeners, setTaskManager, setTaskOwner, start, start, startTimer, stopTimer, timeOutOccurred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASKNAME

public static final java.lang.String TASKNAME
Define the taskname (String) constant.

See Also:
Constant Field Values
Constructor Detail

Task_GET_READER_CAPABILITIES

public Task_GET_READER_CAPABILITIES(CommandService command,
                                    SignalService signal)
Constructs an instance of this class from the specified command and signal parameters.

Parameters:
command - The command (CommandService) parameter.
signal - The signal (SignalService) parameter.
See Also:
Task_GET_READER_CAPABILITIES(CommandService,Map,SignalService), Task_GET_READER_CAPABILITIES(CommandService,Map,SignalService,long)

Task_GET_READER_CAPABILITIES

public Task_GET_READER_CAPABILITIES(CommandService command,
                                    java.util.Map parameters,
                                    SignalService signal)
Constructs an instance of this class from the specified command, parameters and signal parameters.

Parameters:
command - The command (CommandService) parameter.
parameters - The parameters (Map) parameter.
signal - The signal (SignalService) parameter.
See Also:
Task_GET_READER_CAPABILITIES(CommandService,SignalService), Task_GET_READER_CAPABILITIES(CommandService,Map,SignalService,long)

Task_GET_READER_CAPABILITIES

public Task_GET_READER_CAPABILITIES(CommandService command,
                                    java.util.Map parameters,
                                    SignalService signal,
                                    long timeoutValue)
Constructs an instance of this class from the specified command, parameters, signal and timeout value parameters.

Parameters:
command - The command (CommandService) parameter.
parameters - The parameters (Map) parameter.
signal - The signal (SignalService) parameter.
timeoutValue - The timeout value (long) parameter.
See Also:
Task_GET_READER_CAPABILITIES(CommandService,SignalService), Task_GET_READER_CAPABILITIES(CommandService,Map,SignalService)
Method Detail

duplicateTask

public boolean duplicateTask(ITask task)
Duplicate task with the specified task parameter and return the boolean result.

Specified by:
duplicateTask in interface ITask
Parameters:
task - The task (ITask) parameter.
Returns:
Results of the duplicate task (boolean) value.
See Also:
ITask.launchTask()

getCapabilities

public java.util.Map getCapabilities()
Gets the capabilities (Map) value.

Specified by:
getCapabilities in interface ILLRPCapabilities
Returns:
The capabilities (Map) value.
See Also:
getUHFBandCapabilities(), printAllCapabilities(), printC1G2LLRPCapabilities(), printGeneralDeviceCapabilities(), printLLRPCapabilities(), printRegulatoryCapabilities()

getClientRequestOpSpecTimeout

public int getClientRequestOpSpecTimeout()
Gets the client request op spec timeout (int) value.

Specified by:
getClientRequestOpSpecTimeout in interface ILLRPCapabilities
Returns:
The client request op spec timeout (int) value.

getCommunicationsStandard

public int getCommunicationsStandard()
Gets the communications standard (int) value.

Specified by:
getCommunicationsStandard in interface ILLRPCapabilities
Returns:
The communications standard (int) value.

getCountryCode

public int getCountryCode()
Gets the country code (int) value.

Specified by:
getCountryCode in interface ILLRPCapabilities
Returns:
The country code (int) value.

getDeviceManufacturerName

public int getDeviceManufacturerName()
Gets the device manufacturer name (int) value.

Specified by:
getDeviceManufacturerName in interface ILLRPCapabilities
Returns:
The device manufacturer name (int) value.

getMaxNumAccessSpecs

public int getMaxNumAccessSpecs()
Gets the max num access specs (int) value.

Specified by:
getMaxNumAccessSpecs in interface ILLRPCapabilities
Returns:
The max num access specs (int) value.

getMaxNumInventoryParameterSpecsperAISpec

public int getMaxNumInventoryParameterSpecsperAISpec()
Gets the max num inventory parameter specsper aispec (int) value.

Specified by:
getMaxNumInventoryParameterSpecsperAISpec in interface ILLRPCapabilities
Returns:
The max num inventory parameter specsper aispec (int) value.

getMaxNumOpSpecsPerAccessSpec

public int getMaxNumOpSpecsPerAccessSpec()
Gets the max num op specs per access spec (int) value.

Specified by:
getMaxNumOpSpecsPerAccessSpec in interface ILLRPCapabilities
Returns:
The max num op specs per access spec (int) value.

getMaxNumROSpecs

public int getMaxNumROSpecs()
Gets the max num rospecs (int) value.

Specified by:
getMaxNumROSpecs in interface ILLRPCapabilities
Returns:
The max num rospecs (int) value.

getMaxNumSelectFiltersPerQuery

public int getMaxNumSelectFiltersPerQuery()
Gets the max num select filters per query (int) value.

Specified by:
getMaxNumSelectFiltersPerQuery in interface ILLRPCapabilities
Returns:
The max num select filters per query (int) value.

getMaxNumSpecsPerROSpecs

public int getMaxNumSpecsPerROSpecs()
Gets the max num specs per rospecs (int) value.

Specified by:
getMaxNumSpecsPerROSpecs in interface ILLRPCapabilities
Returns:
The max num specs per rospecs (int) value.

getMaxNumberOfAntennaSupported

public int getMaxNumberOfAntennaSupported()
Gets the max number of antenna supported (int) value.

Specified by:
getMaxNumberOfAntennaSupported in interface ILLRPCapabilities
Returns:
The max number of antenna supported (int) value.

getMaxPriorityLevelSupported

public int getMaxPriorityLevelSupported()
Gets the max priority level supported (int) value.

Specified by:
getMaxPriorityLevelSupported in interface ILLRPCapabilities
Returns:
The max priority level supported (int) value.

getModelName

public int getModelName()
Gets the model name (int) value.

Specified by:
getModelName in interface ILLRPCapabilities
Returns:
The model name (int) value.

getNumGPIs

public int getNumGPIs()
Gets the num gpis (int) value.

Specified by:
getNumGPIs in interface ILLRPCapabilities
Returns:
The num gpis (int) value.

getNumGPOs

public int getNumGPOs()
Gets the num gpos (int) value.

Specified by:
getNumGPOs in interface ILLRPCapabilities
Returns:
The num gpos (int) value.

getPerAntennaAirProtocol

public java.util.List getPerAntennaAirProtocol()
Gets the per antenna air protocol (List) value.

Specified by:
getPerAntennaAirProtocol in interface ILLRPCapabilities
Returns:
The per antenna air protocol (List) value.

getPerAntennaReceiveSensitivityRange

public java.util.List getPerAntennaReceiveSensitivityRange()
Gets the per antenna receive sensitivity range (List) value.

Specified by:
getPerAntennaReceiveSensitivityRange in interface ILLRPCapabilities
Returns:
The per antenna receive sensitivity range (List) value.

getReaderFirmwareVersion

public java.lang.String getReaderFirmwareVersion()
Gets the reader firmware version (String) value.

Specified by:
getReaderFirmwareVersion in interface ILLRPCapabilities
Returns:
The reader firmware version (String) value.

getReceiveSensitivityTable

public java.util.List getReceiveSensitivityTable()
Gets the receive sensitivity table (List) value.

Specified by:
getReceiveSensitivityTable in interface ILLRPCapabilities
Returns:
The receive sensitivity table (List) value.

getTaskName

public java.lang.String getTaskName()
Gets the task name (String) value.

Specified by:
getTaskName in interface ITask
Returns:
The task name (String) value.

getUHFBandCapabilities

public java.util.Map getUHFBandCapabilities()
Gets the uhfband capabilities (Map) value.

Specified by:
getUHFBandCapabilities in interface ILLRPCapabilities
Returns:
The uhfband capabilities (Map) value.

handleResponse

public void handleResponse(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Handle response with the specified source, timestamp and data parameters.

Specified by:
handleResponse in interface ITask
Parameters:
source - The source (SignalService) parameter.
timestamp - The time stamp (Object) parameter.
data - The data (Object) parameter.

isCanDoRFSurvey

public boolean isCanDoRFSurvey()
Gets the can do rfsurvey (boolean) value.

Specified by:
isCanDoRFSurvey in interface ILLRPCapabilities
Returns:
The can do rfsurvey (boolean) value.

isCanDoTagInventoryStateAwaresingulation

public boolean isCanDoTagInventoryStateAwaresingulation()
Gets the can do tag inventory state awaresingulation (boolean) value.

Specified by:
isCanDoTagInventoryStateAwaresingulation in interface ILLRPCapabilities
Returns:
The can do tag inventory state awaresingulation (boolean) value.

isCanReportBufferFillWarning

public boolean isCanReportBufferFillWarning()
Gets the can report buffer fill warning (boolean) value.

Specified by:
isCanReportBufferFillWarning in interface ILLRPCapabilities
Returns:
The can report buffer fill warning (boolean) value.

isCanSetAntennaProperties

public boolean isCanSetAntennaProperties()
Gets the can set antenna properties (boolean) value.

Specified by:
isCanSetAntennaProperties in interface ILLRPCapabilities
Returns:
The can set antenna properties (boolean) value.

isCanSupportBlockErase

public boolean isCanSupportBlockErase()
Gets the can support block erase (boolean) value.

Specified by:
isCanSupportBlockErase in interface ILLRPCapabilities
Returns:
The can support block erase (boolean) value.

isCanSupportBlockWrite

public boolean isCanSupportBlockWrite()
Gets the can support block write (boolean) value.

Specified by:
isCanSupportBlockWrite in interface ILLRPCapabilities
Returns:
The can support block write (boolean) value.

isHasUTCClockCapability

public boolean isHasUTCClockCapability()
Gets the has utcclock capability (boolean) value.

Specified by:
isHasUTCClockCapability in interface ILLRPCapabilities
Returns:
The has utcclock capability (boolean) value.

isSameTaskType

protected boolean isSameTaskType(ITask task)
Is same task type with the specified task parameter and return the boolean result.

Specified by:
isSameTaskType in class AbstractLLRPTask
Parameters:
task - The task (ITask) parameter.
Returns:
Results of the is same task type (boolean) value.

isSupportsClientRequestOpSpec

public boolean isSupportsClientRequestOpSpec()
Gets the supports client request op spec (boolean) value.

Specified by:
isSupportsClientRequestOpSpec in interface ILLRPCapabilities
Returns:
The supports client request op spec (boolean) value.

isSupportsEventAndREportHolding

public boolean isSupportsEventAndREportHolding()
Gets the supports event and report holding (boolean) value.

Specified by:
isSupportsEventAndREportHolding in interface ILLRPCapabilities
Returns:
The supports event and report holding (boolean) value.

printAllCapabilities

public java.lang.String printAllCapabilities()
Print all capabilities and return the String result.

Returns:
Results of the print all capabilities (String) value.

printC1G2LLRPCapabilities

public java.lang.String printC1G2LLRPCapabilities()
Print c1 g2 llrpcapabilities and return the String result.

Returns:
Results of the print c1 g2 llrpcapabilities (String) value.

printGeneralDeviceCapabilities

public java.lang.String printGeneralDeviceCapabilities()
Print general device capabilities and return the String result.

Returns:
Results of the print general device capabilities (String) value.

printLLRPCapabilities

public java.lang.String printLLRPCapabilities()
Print llrpcapabilities and return the String result.

Returns:
Results of the print llrpcapabilities (String) value.
See Also:
printC1G2LLRPCapabilities()

printRegulatoryCapabilities

public java.lang.String printRegulatoryCapabilities()
Print regulatory capabilities and return the String result.

Returns:
Results of the print regulatory capabilities (String) value.

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.