public class LLRPCapabilities extends TLVParameter
Modifier and Type | Field and Description |
---|---|
protected Bit |
canDoRFSurvey |
protected Bit |
canDoTagInventoryStateAwareSingulation |
protected Bit |
canReportBufferFillWarning |
protected UnsignedShort |
clientRequestOpSpecTimeout |
protected UnsignedInteger |
maxNumAccessSpecs |
protected UnsignedInteger |
maxNumInventoryParameterSpecsPerAISpec |
protected UnsignedInteger |
maxNumOpSpecsPerAccessSpec |
protected UnsignedByte |
maxNumPriorityLevelsSupported |
protected UnsignedInteger |
maxNumROSpecs |
protected UnsignedInteger |
maxNumSpecsPerROSpec |
protected BitList |
reserved0 |
protected Bit |
supportsClientRequestOpSpec |
protected Bit |
supportsEventAndReportHolding |
static SignedShort |
TYPENUM |
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
LLRPCapabilities()
empty constructor to create new parameter.
|
LLRPCapabilities(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
LLRPCapabilities(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
LLRPCapabilities(LLRPBitList list,
int bitIndex,
int length)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
decodeBinarySpecific(LLRPBitList binary)
decoding function to be implemented by each parameter
|
void |
decodeXML(org.jdom.Element element)
create objects from xml.
|
LLRPBitList |
encodeBinarySpecific()
protected method to force subclasses to implement their specific encoding
|
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter.
|
Bit |
getCanDoRFSurvey()
get canDoRFSurvey of type Bit.
|
Bit |
getCanDoTagInventoryStateAwareSingulation()
get canDoTagInventoryStateAwareSingulation of type Bit.
|
Bit |
getCanReportBufferFillWarning()
get canReportBufferFillWarning of type Bit.
|
UnsignedShort |
getClientRequestOpSpecTimeout()
get clientRequestOpSpecTimeout of type UnsignedShort.
|
UnsignedInteger |
getMaxNumAccessSpecs()
get maxNumAccessSpecs of type UnsignedInteger.
|
UnsignedInteger |
getMaxNumInventoryParameterSpecsPerAISpec()
get maxNumInventoryParameterSpecsPerAISpec of type UnsignedInteger.
|
UnsignedInteger |
getMaxNumOpSpecsPerAccessSpec()
get maxNumOpSpecsPerAccessSpec of type UnsignedInteger.
|
UnsignedByte |
getMaxNumPriorityLevelsSupported()
get maxNumPriorityLevelsSupported of type UnsignedByte.
|
UnsignedInteger |
getMaxNumROSpecs()
get maxNumROSpecs of type UnsignedInteger.
|
UnsignedInteger |
getMaxNumSpecsPerROSpec()
get maxNumSpecsPerROSpec of type UnsignedInteger.
|
java.lang.String |
getName()
name of parameter (same as class name)
|
Bit |
getSupportsClientRequestOpSpec()
get supportsClientRequestOpSpec of type Bit.
|
Bit |
getSupportsEventAndReportHolding()
get supportsEventAndReportHolding of type Bit.
|
SignedShort |
getTypeNum()
type number uniquely identifies a parameter.
|
static java.lang.Integer |
length()
For TLV Parameter length can not be determined at compile time.
|
void |
setCanDoRFSurvey(Bit canDoRFSurvey)
set canDoRFSurvey of type Bit .
|
void |
setCanDoTagInventoryStateAwareSingulation(Bit canDoTagInventoryStateAwareSingulation)
set canDoTagInventoryStateAwareSingulation of type Bit .
|
void |
setCanReportBufferFillWarning(Bit canReportBufferFillWarning)
set canReportBufferFillWarning of type Bit .
|
void |
setClientRequestOpSpecTimeout(UnsignedShort clientRequestOpSpecTimeout)
set clientRequestOpSpecTimeout of type UnsignedShort .
|
void |
setMaxNumAccessSpecs(UnsignedInteger maxNumAccessSpecs)
set maxNumAccessSpecs of type UnsignedInteger .
|
void |
setMaxNumInventoryParameterSpecsPerAISpec(UnsignedInteger maxNumInventoryParameterSpecsPerAISpec)
set maxNumInventoryParameterSpecsPerAISpec of type UnsignedInteger .
|
void |
setMaxNumOpSpecsPerAccessSpec(UnsignedInteger maxNumOpSpecsPerAccessSpec)
set maxNumOpSpecsPerAccessSpec of type UnsignedInteger .
|
void |
setMaxNumPriorityLevelsSupported(UnsignedByte maxNumPriorityLevelsSupported)
set maxNumPriorityLevelsSupported of type UnsignedByte .
|
void |
setMaxNumROSpecs(UnsignedInteger maxNumROSpecs)
set maxNumROSpecs of type UnsignedInteger .
|
void |
setMaxNumSpecsPerROSpec(UnsignedInteger maxNumSpecsPerROSpec)
set maxNumSpecsPerROSpec of type UnsignedInteger .
|
void |
setSupportsClientRequestOpSpec(Bit supportsClientRequestOpSpec)
set supportsClientRequestOpSpec of type Bit .
|
void |
setSupportsEventAndReportHolding(Bit supportsEventAndReportHolding)
set supportsEventAndReportHolding of type Bit .
|
java.lang.String |
toString()
return string representation.
|
decodeBinary, encodeBinary
getByteLength
public static final SignedShort TYPENUM
protected Bit canDoRFSurvey
protected Bit canReportBufferFillWarning
protected Bit supportsClientRequestOpSpec
protected Bit canDoTagInventoryStateAwareSingulation
protected Bit supportsEventAndReportHolding
protected BitList reserved0
protected UnsignedByte maxNumPriorityLevelsSupported
protected UnsignedShort clientRequestOpSpecTimeout
protected UnsignedInteger maxNumROSpecs
protected UnsignedInteger maxNumSpecsPerROSpec
protected UnsignedInteger maxNumInventoryParameterSpecsPerAISpec
protected UnsignedInteger maxNumAccessSpecs
protected UnsignedInteger maxNumOpSpecsPerAccessSpec
public LLRPCapabilities()
public LLRPCapabilities(LLRPBitList list)
list
- to be decodedpublic LLRPCapabilities(LLRPBitList list, int bitIndex, int length)
list
- to be decodedbitIndex
- the bit at which to start decodinglength
- the number of bits to decodepublic LLRPCapabilities(org.jdom.Element element) throws InvalidLLRPMessageException
element
- to be decodedInvalidLLRPMessageException
public LLRPBitList encodeBinarySpecific()
encodeBinarySpecific
in class TLVParameter
public org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
encodeXML
in class LLRPParameter
name
- of elementns
- Namespace of elementsprotected void decodeBinarySpecific(LLRPBitList binary)
decodeBinarySpecific
in class TLVParameter
binary
- binary representation of the parameterpublic void decodeXML(org.jdom.Element element) throws InvalidLLRPMessageException
decodeXML
in class LLRPParameter
element
- to be decodedInvalidLLRPMessageException
public void setCanDoRFSurvey(Bit canDoRFSurvey)
canDoRFSurvey
- to be setpublic void setCanReportBufferFillWarning(Bit canReportBufferFillWarning)
canReportBufferFillWarning
- to be setpublic void setSupportsClientRequestOpSpec(Bit supportsClientRequestOpSpec)
supportsClientRequestOpSpec
- to be setpublic void setCanDoTagInventoryStateAwareSingulation(Bit canDoTagInventoryStateAwareSingulation)
canDoTagInventoryStateAwareSingulation
- to be setpublic void setSupportsEventAndReportHolding(Bit supportsEventAndReportHolding)
supportsEventAndReportHolding
- to be setpublic void setMaxNumPriorityLevelsSupported(UnsignedByte maxNumPriorityLevelsSupported)
maxNumPriorityLevelsSupported
- to be setpublic void setClientRequestOpSpecTimeout(UnsignedShort clientRequestOpSpecTimeout)
clientRequestOpSpecTimeout
- to be setpublic void setMaxNumROSpecs(UnsignedInteger maxNumROSpecs)
maxNumROSpecs
- to be setpublic void setMaxNumSpecsPerROSpec(UnsignedInteger maxNumSpecsPerROSpec)
maxNumSpecsPerROSpec
- to be setpublic void setMaxNumInventoryParameterSpecsPerAISpec(UnsignedInteger maxNumInventoryParameterSpecsPerAISpec)
maxNumInventoryParameterSpecsPerAISpec
- to be setpublic void setMaxNumAccessSpecs(UnsignedInteger maxNumAccessSpecs)
maxNumAccessSpecs
- to be setpublic void setMaxNumOpSpecsPerAccessSpec(UnsignedInteger maxNumOpSpecsPerAccessSpec)
maxNumOpSpecsPerAccessSpec
- to be setpublic Bit getCanDoRFSurvey()
public Bit getCanReportBufferFillWarning()
public Bit getSupportsClientRequestOpSpec()
public Bit getCanDoTagInventoryStateAwareSingulation()
public Bit getSupportsEventAndReportHolding()
public UnsignedByte getMaxNumPriorityLevelsSupported()
public UnsignedShort getClientRequestOpSpecTimeout()
public UnsignedInteger getMaxNumROSpecs()
public UnsignedInteger getMaxNumSpecsPerROSpec()
public UnsignedInteger getMaxNumInventoryParameterSpecsPerAISpec()
public UnsignedInteger getMaxNumAccessSpecs()
public UnsignedInteger getMaxNumOpSpecsPerAccessSpec()
public static java.lang.Integer length()
public SignedShort getTypeNum()
getTypeNum
in class LLRPParameter
public java.lang.String getName()
getName
in class LLRPParameter
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007 ETH Zurich.