|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.llrp.ltk.types.LLRPParameter org.llrp.ltk.types.TLVParameter org.llrp.ltk.generated.parameters.LLRPCapabilities
public class LLRPCapabilities
This parameter describes the LLRP protocol capabilities of the Reader. These include optional LLRP commands and parameters, capacities of data structures used in LLRP operations, and air protocol specific capabilities used by LLRP.Readers MAY support RFSurvey, MAY support tag inventory state aware singulation, MAY support UTC clocks, MAY support buffer fill warning reports, MAY support EventAndReportHolding upon reconnect, and MAY support ClientRequestOpspec. Readers SHALL support at least one ROSpec, one AISpec per ROSpec, one InventoryParameterSpec per AISpec, one AccessSpec, and one OpSpec per AccessSpec. See also LLRP Specification Section 9.2.2 and LLRP Specification Section 16.2.3.2 .
Field Summary | |
---|---|
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
|
Fields inherited from class org.llrp.ltk.types.TLVParameter |
---|
RESERVEDLENGTH, TYPENUMBERLENGTH |
Fields inherited from class org.llrp.ltk.types.LLRPParameter |
---|
bitLength |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.llrp.ltk.types.TLVParameter |
---|
decodeBinary, encodeBinary |
Methods inherited from class org.llrp.ltk.types.LLRPParameter |
---|
getByteLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public LLRPCapabilities()
public LLRPCapabilities(LLRPBitList list)
list
- to be decodedpublic LLRPCapabilities(org.jdom.Element element) throws InvalidLLRPMessageException
element
- to be decoded
InvalidLLRPMessageException
Method Detail |
---|
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 decoded
InvalidLLRPMessageException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |