public class GET_READER_CONFIG_RESPONSE extends LLRPMessage
Modifier and Type | Field and Description |
---|---|
protected AccessReportSpec |
accessReportSpec |
protected java.util.List<AntennaConfiguration> |
antennaConfigurationList |
protected java.util.List<AntennaProperties> |
antennaPropertiesList |
protected java.util.List<Custom> |
customList |
protected EventsAndReports |
eventsAndReports |
protected java.util.List<GPIPortCurrentState> |
gPIPortCurrentStateList |
protected java.util.List<GPOWriteData> |
gPOWriteDataList |
protected Identification |
identification |
protected KeepaliveSpec |
keepaliveSpec |
protected LLRPConfigurationStateValue |
lLRPConfigurationStateValue |
protected LLRPStatus |
lLRPStatus |
protected ReaderEventNotificationSpec |
readerEventNotificationSpec |
static java.lang.String |
RESPONSETYPE |
protected ROReportSpec |
rOReportSpec |
static SignedShort |
TYPENUM |
messageID, messageLength, messageReservedLength, MINHEADERLENGTH, reserved, RESERVEDLENGTH, TYPENUMBERLENGTH, version, VERSIONLENGTH
Constructor and Description |
---|
GET_READER_CONFIG_RESPONSE()
empty constructor to create new message
with LLRP version set to 1.0 (0x1).
|
GET_READER_CONFIG_RESPONSE(byte[] byteArray)
Constructor to create message from binary encoded message
calls decodeBinary to decode message.
|
GET_READER_CONFIG_RESPONSE(org.jdom.Document document)
Constructor to create message from xml encoded message
calls decodeXML to decode message.
|
GET_READER_CONFIG_RESPONSE(LLRPBitList list)
Constructor to create message from binary encoded message
calls decodeBinary to decode message.
|
Modifier and Type | Method and Description |
---|---|
void |
addToAntennaConfigurationList(AntennaConfiguration antennaConfiguration)
add element antennaConfiguration of type AntennaConfiguration .
|
void |
addToAntennaPropertiesList(AntennaProperties antennaProperties)
add element antennaProperties of type AntennaProperties .
|
void |
addToCustomList(Custom custom)
add element custom of type Custom .
|
void |
addToGPIPortCurrentStateList(GPIPortCurrentState gPIPortCurrentState)
add element gPIPortCurrentState of type GPIPortCurrentState .
|
void |
addToGPOWriteDataList(GPOWriteData gPOWriteData)
add element gPOWriteData of type GPOWriteData .
|
protected void |
decodeBinarySpecific(LLRPBitList binary)
to be implemented by specific message.
|
void |
decodeXML(org.jdom.Document document)
create objects from xml.
|
protected LLRPBitList |
encodeBinarySpecific()
encoding function - has to be implemented by each message.
|
org.jdom.Document |
encodeXML()
create xml representation of this parameter.
|
AccessReportSpec |
getAccessReportSpec()
get accessReportSpec of type AccessReportSpec .
|
java.util.List<AntennaConfiguration> |
getAntennaConfigurationList()
get antennaConfigurationList of type List <AntennaConfiguration> .
|
java.util.List<AntennaProperties> |
getAntennaPropertiesList()
get antennaPropertiesList of type List <AntennaProperties> .
|
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> .
|
EventsAndReports |
getEventsAndReports()
get eventsAndReports of type EventsAndReports .
|
java.util.List<GPIPortCurrentState> |
getGPIPortCurrentStateList()
get gPIPortCurrentStateList of type List <GPIPortCurrentState> .
|
java.util.List<GPOWriteData> |
getGPOWriteDataList()
get gPOWriteDataList of type List <GPOWriteData> .
|
Identification |
getIdentification()
get identification of type Identification .
|
KeepaliveSpec |
getKeepaliveSpec()
get keepaliveSpec of type KeepaliveSpec .
|
LLRPConfigurationStateValue |
getLLRPConfigurationStateValue()
get lLRPConfigurationStateValue of type LLRPConfigurationStateValue .
|
LLRPStatus |
getLLRPStatus()
get lLRPStatus of type LLRPStatus .
|
java.lang.String |
getName()
name of message (same as class name)
|
ReaderEventNotificationSpec |
getReaderEventNotificationSpec()
get readerEventNotificationSpec of type ReaderEventNotificationSpec .
|
java.lang.String |
getResponseType()
response message type awaited
|
ROReportSpec |
getROReportSpec()
get rOReportSpec of type ROReportSpec .
|
SignedShort |
getTypeNum()
return uniuque type number.
|
void |
setAccessReportSpec(AccessReportSpec accessReportSpec)
set accessReportSpec of type AccessReportSpec.
|
void |
setAntennaConfigurationList(java.util.List<AntennaConfiguration> antennaConfigurationList)
set antennaConfigurationList of type List <AntennaConfiguration>.
|
void |
setAntennaPropertiesList(java.util.List<AntennaProperties> antennaPropertiesList)
set antennaPropertiesList of type List <AntennaProperties>.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setEventsAndReports(EventsAndReports eventsAndReports)
set eventsAndReports of type EventsAndReports.
|
void |
setGPIPortCurrentStateList(java.util.List<GPIPortCurrentState> gPIPortCurrentStateList)
set gPIPortCurrentStateList of type List <GPIPortCurrentState>.
|
void |
setGPOWriteDataList(java.util.List<GPOWriteData> gPOWriteDataList)
set gPOWriteDataList of type List <GPOWriteData>.
|
void |
setIdentification(Identification identification)
set identification of type Identification.
|
void |
setKeepaliveSpec(KeepaliveSpec keepaliveSpec)
set keepaliveSpec of type KeepaliveSpec.
|
void |
setLLRPConfigurationStateValue(LLRPConfigurationStateValue lLRPConfigurationStateValue)
set lLRPConfigurationStateValue of type LLRPConfigurationStateValue.
|
void |
setLLRPStatus(LLRPStatus lLRPStatus)
set lLRPStatus of type LLRPStatus.
|
void |
setReaderEventNotificationSpec(ReaderEventNotificationSpec readerEventNotificationSpec)
set readerEventNotificationSpec of type ReaderEventNotificationSpec.
|
void |
setROReportSpec(ROReportSpec rOReportSpec)
set rOReportSpec of type ROReportSpec.
|
decodeBinary, encodeBinary, getMessageID, getMessageLength, getVersion, isValidXMLMessage, setMessageID, setVersion, toBinaryString, toHexString, toXMLString
public static final SignedShort TYPENUM
public static final java.lang.String RESPONSETYPE
protected LLRPStatus lLRPStatus
protected Identification identification
protected java.util.List<AntennaProperties> antennaPropertiesList
protected java.util.List<AntennaConfiguration> antennaConfigurationList
protected ReaderEventNotificationSpec readerEventNotificationSpec
protected ROReportSpec rOReportSpec
protected AccessReportSpec accessReportSpec
protected LLRPConfigurationStateValue lLRPConfigurationStateValue
protected KeepaliveSpec keepaliveSpec
protected java.util.List<GPIPortCurrentState> gPIPortCurrentStateList
protected java.util.List<GPOWriteData> gPOWriteDataList
protected EventsAndReports eventsAndReports
protected java.util.List<Custom> customList
public GET_READER_CONFIG_RESPONSE()
public GET_READER_CONFIG_RESPONSE(LLRPBitList list) throws InvalidLLRPMessageException
list
- to be decodedInvalidLLRPMessageException
public GET_READER_CONFIG_RESPONSE(byte[] byteArray) throws InvalidLLRPMessageException
byteArray
- representing messageInvalidLLRPMessageException
public GET_READER_CONFIG_RESPONSE(org.jdom.Document document) throws InvalidLLRPMessageException
document
- to be decodedInvalidLLRPMessageException
protected LLRPBitList encodeBinarySpecific() throws InvalidLLRPMessageException
encodeBinarySpecific
in class LLRPMessage
InvalidLLRPMessageException
public org.jdom.Document encodeXML() throws InvalidLLRPMessageException
encodeXML
in class LLRPMessage
InvalidLLRPMessageException
protected void decodeBinarySpecific(LLRPBitList binary) throws InvalidLLRPMessageException
decodeBinarySpecific
in class LLRPMessage
binary
- without headerInvalidLLRPMessageException
public void decodeXML(org.jdom.Document document) throws InvalidLLRPMessageException
decodeXML
in class LLRPMessage
document
- document as jdom documentInvalidLLRPMessageException
public void setLLRPStatus(LLRPStatus lLRPStatus)
lLRPStatus
- to be setpublic void setIdentification(Identification identification)
identification
- to be setpublic void setAntennaPropertiesList(java.util.List<AntennaProperties> antennaPropertiesList)
antennaPropertiesList
- to be setpublic void setAntennaConfigurationList(java.util.List<AntennaConfiguration> antennaConfigurationList)
antennaConfigurationList
- to be setpublic void setReaderEventNotificationSpec(ReaderEventNotificationSpec readerEventNotificationSpec)
readerEventNotificationSpec
- to be setpublic void setROReportSpec(ROReportSpec rOReportSpec)
rOReportSpec
- to be setpublic void setAccessReportSpec(AccessReportSpec accessReportSpec)
accessReportSpec
- to be setpublic void setLLRPConfigurationStateValue(LLRPConfigurationStateValue lLRPConfigurationStateValue)
lLRPConfigurationStateValue
- to be setpublic void setKeepaliveSpec(KeepaliveSpec keepaliveSpec)
keepaliveSpec
- to be setpublic void setGPIPortCurrentStateList(java.util.List<GPIPortCurrentState> gPIPortCurrentStateList)
gPIPortCurrentStateList
- to be setpublic void setGPOWriteDataList(java.util.List<GPOWriteData> gPOWriteDataList)
gPOWriteDataList
- to be setpublic void setEventsAndReports(EventsAndReports eventsAndReports)
eventsAndReports
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic LLRPStatus getLLRPStatus()
public Identification getIdentification()
public java.util.List<AntennaProperties> getAntennaPropertiesList()
public java.util.List<AntennaConfiguration> getAntennaConfigurationList()
public ReaderEventNotificationSpec getReaderEventNotificationSpec()
public ROReportSpec getROReportSpec()
public AccessReportSpec getAccessReportSpec()
public LLRPConfigurationStateValue getLLRPConfigurationStateValue()
public KeepaliveSpec getKeepaliveSpec()
public java.util.List<GPIPortCurrentState> getGPIPortCurrentStateList()
public java.util.List<GPOWriteData> getGPOWriteDataList()
public EventsAndReports getEventsAndReports()
public java.util.List<Custom> getCustomList()
public void addToAntennaPropertiesList(AntennaProperties antennaProperties)
antennaProperties
- of type AntennaPropertiespublic void addToAntennaConfigurationList(AntennaConfiguration antennaConfiguration)
antennaConfiguration
- of type AntennaConfigurationpublic void addToGPIPortCurrentStateList(GPIPortCurrentState gPIPortCurrentState)
gPIPortCurrentState
- of type GPIPortCurrentStatepublic void addToGPOWriteDataList(GPOWriteData gPOWriteData)
gPOWriteData
- of type GPOWriteDatapublic void addToCustomList(Custom custom)
custom
- of type Custompublic java.lang.String getResponseType()
LLRPMessage
getResponseType
in class LLRPMessage
public java.lang.String getName()
LLRPMessage
getName
in class LLRPMessage
public SignedShort getTypeNum()
getTypeNum
in class LLRPMessage
Copyright © 2007 ETH Zurich.