|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.llrp.ltk.types.LLRPParameter
org.llrp.ltk.types.TLVParameter
org.llrp.ltk.generated.parameters.ReaderEventNotificationData
public class ReaderEventNotificationData
This parameter describes the contents of the event notification sent by the Reader, and defines the events that cause the notification to be sent. Event notification messages may be sent by the Reader due to connection establishment/closing event, critical events such as hopping, fault-detection in a Reader functional block, buffer overflow, due to the activation of a Reader accessory trigger input (e.g. motion detection), or due to performance monitoring events such as abnormalities in the RF environment.Timestamp is the time that the events reported occurred.LLRP assumes a reliable stream transport mechanism. Messages sent through LLRP will arrive in the order that they were sent over the transport and binding utilized. Status events within the same message SHALL be ordered chronologically.Status events delivered by reader event notifications are useful, especially in conjunction with the tag report data. The following describes the requirements of the reader event notifications ordering with respect to the ordering of tag reports and Reader Event Notifications. The following requirements are made on the ordering of Event Parameters with respect to each other and to tag report Parameters. These statements apply if the respective status events and report triggers are enabled. If the start of an ROSpec is triggered by a GPI, the GPIEvent Parameter SHALL be sent before the ROSpecEvent Parameter signaling the start of the ROSpec.If the end of an ROSpec is triggered by a GPI, the GPIEvent Parameter SHALL be sent before the ROSpecEvent Parameter signaling the end of the ROSpec.If an ROSpec contains one or more AISpecs, the ROSpecEvent parameter signaling the end of an ROSpec SHALL be sent after the AISpecEvent Parameter signaling the end of the last AISpec within that ROSpec.If one ROSpec pre-empts another ROSpec, the ROSpecEvent parameter signaling the preemption of the first ROSpec SHALL be sent before the ROSpecEvent parameter signaling the start of the next ROSpec.Tag data received during an ROSpec execution SHALL be sent between the ROSpecEvent parameter signaling the start of the ROSpec and the ROSpecEvent parameter signaling the end or preemption of the ROSpec if the ROReportTrigger is not set to "None".Tag data received during an AISpec execution SHALL be sent before the AISpecEvent Parameter signaling the end of the AISpec if the ROReportTrigger is not "None" or "end of RO Spec"Tag data received during the time on a channel SHALL be sent after the HoppingEvent parameter that announced this channel and before the next HoppingEvent parameter when the ROReportTrigger is not "None" and N=1. See also LLRP Specification Section 13.2.6 and LLRP Specification Section 16.2.7.6 .
Field Summary | |
---|---|
protected AISpecEvent |
aISpecEvent
|
protected AntennaEvent |
antennaEvent
|
protected ConnectionAttemptEvent |
connectionAttemptEvent
|
protected ConnectionCloseEvent |
connectionCloseEvent
|
protected java.util.List<Custom> |
customList
|
protected GPIEvent |
gPIEvent
|
protected HoppingEvent |
hoppingEvent
|
protected ReaderExceptionEvent |
readerExceptionEvent
|
protected ReportBufferLevelWarningEvent |
reportBufferLevelWarningEvent
|
protected ReportBufferOverflowErrorEvent |
reportBufferOverflowErrorEvent
|
protected RFSurveyEvent |
rFSurveyEvent
|
protected ROSpecEvent |
rOSpecEvent
|
protected Timestamp |
timestamp
|
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 | |
---|---|
ReaderEventNotificationData()
empty constructor to create new parameter. |
|
ReaderEventNotificationData(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter calls decodeXML to decode parameter. |
|
ReaderEventNotificationData(LLRPBitList list)
Constructor to create parameter from binary encoded parameter calls decodeBinary to decode parameter. |
Method Summary | |
---|---|
void |
addToCustomList(Custom custom)
add element custom of type Custom . |
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. |
AISpecEvent |
getAISpecEvent()
get aISpecEvent of type AISpecEvent . |
AntennaEvent |
getAntennaEvent()
get antennaEvent of type AntennaEvent . |
ConnectionAttemptEvent |
getConnectionAttemptEvent()
get connectionAttemptEvent of type ConnectionAttemptEvent . |
ConnectionCloseEvent |
getConnectionCloseEvent()
get connectionCloseEvent of type ConnectionCloseEvent . |
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> . |
GPIEvent |
getGPIEvent()
get gPIEvent of type GPIEvent . |
HoppingEvent |
getHoppingEvent()
get hoppingEvent of type HoppingEvent . |
java.lang.String |
getName()
name of parameter (same as class name) |
ReaderExceptionEvent |
getReaderExceptionEvent()
get readerExceptionEvent of type ReaderExceptionEvent . |
ReportBufferLevelWarningEvent |
getReportBufferLevelWarningEvent()
get reportBufferLevelWarningEvent of type ReportBufferLevelWarningEvent . |
ReportBufferOverflowErrorEvent |
getReportBufferOverflowErrorEvent()
get reportBufferOverflowErrorEvent of type ReportBufferOverflowErrorEvent . |
RFSurveyEvent |
getRFSurveyEvent()
get rFSurveyEvent of type RFSurveyEvent . |
ROSpecEvent |
getROSpecEvent()
get rOSpecEvent of type ROSpecEvent . |
Timestamp |
getTimestamp()
get timestamp of type Timestamp . |
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 |
setAISpecEvent(AISpecEvent aISpecEvent)
set aISpecEvent of type AISpecEvent. |
void |
setAntennaEvent(AntennaEvent antennaEvent)
set antennaEvent of type AntennaEvent. |
void |
setConnectionAttemptEvent(ConnectionAttemptEvent connectionAttemptEvent)
set connectionAttemptEvent of type ConnectionAttemptEvent. |
void |
setConnectionCloseEvent(ConnectionCloseEvent connectionCloseEvent)
set connectionCloseEvent of type ConnectionCloseEvent. |
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>. |
void |
setGPIEvent(GPIEvent gPIEvent)
set gPIEvent of type GPIEvent. |
void |
setHoppingEvent(HoppingEvent hoppingEvent)
set hoppingEvent of type HoppingEvent. |
void |
setReaderExceptionEvent(ReaderExceptionEvent readerExceptionEvent)
set readerExceptionEvent of type ReaderExceptionEvent. |
void |
setReportBufferLevelWarningEvent(ReportBufferLevelWarningEvent reportBufferLevelWarningEvent)
set reportBufferLevelWarningEvent of type ReportBufferLevelWarningEvent. |
void |
setReportBufferOverflowErrorEvent(ReportBufferOverflowErrorEvent reportBufferOverflowErrorEvent)
set reportBufferOverflowErrorEvent of type ReportBufferOverflowErrorEvent. |
void |
setRFSurveyEvent(RFSurveyEvent rFSurveyEvent)
set rFSurveyEvent of type RFSurveyEvent. |
void |
setROSpecEvent(ROSpecEvent rOSpecEvent)
set rOSpecEvent of type ROSpecEvent. |
void |
setTimestamp(Timestamp timestamp)
set timestamp of type Timestamp. |
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 Timestamp timestamp
protected HoppingEvent hoppingEvent
protected GPIEvent gPIEvent
protected ROSpecEvent rOSpecEvent
protected ReportBufferLevelWarningEvent reportBufferLevelWarningEvent
protected ReportBufferOverflowErrorEvent reportBufferOverflowErrorEvent
protected ReaderExceptionEvent readerExceptionEvent
protected RFSurveyEvent rFSurveyEvent
protected AISpecEvent aISpecEvent
protected AntennaEvent antennaEvent
protected ConnectionAttemptEvent connectionAttemptEvent
protected ConnectionCloseEvent connectionCloseEvent
protected java.util.List<Custom> customList
Constructor Detail |
---|
public ReaderEventNotificationData()
public ReaderEventNotificationData(LLRPBitList list)
list
- to be decodedpublic ReaderEventNotificationData(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 setTimestamp(Timestamp timestamp)
timestamp
- to be setpublic void setHoppingEvent(HoppingEvent hoppingEvent)
hoppingEvent
- to be setpublic void setGPIEvent(GPIEvent gPIEvent)
gPIEvent
- to be setpublic void setROSpecEvent(ROSpecEvent rOSpecEvent)
rOSpecEvent
- to be setpublic void setReportBufferLevelWarningEvent(ReportBufferLevelWarningEvent reportBufferLevelWarningEvent)
reportBufferLevelWarningEvent
- to be setpublic void setReportBufferOverflowErrorEvent(ReportBufferOverflowErrorEvent reportBufferOverflowErrorEvent)
reportBufferOverflowErrorEvent
- to be setpublic void setReaderExceptionEvent(ReaderExceptionEvent readerExceptionEvent)
readerExceptionEvent
- to be setpublic void setRFSurveyEvent(RFSurveyEvent rFSurveyEvent)
rFSurveyEvent
- to be setpublic void setAISpecEvent(AISpecEvent aISpecEvent)
aISpecEvent
- to be setpublic void setAntennaEvent(AntennaEvent antennaEvent)
antennaEvent
- to be setpublic void setConnectionAttemptEvent(ConnectionAttemptEvent connectionAttemptEvent)
connectionAttemptEvent
- to be setpublic void setConnectionCloseEvent(ConnectionCloseEvent connectionCloseEvent)
connectionCloseEvent
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic Timestamp getTimestamp()
public HoppingEvent getHoppingEvent()
public GPIEvent getGPIEvent()
public ROSpecEvent getROSpecEvent()
public ReportBufferLevelWarningEvent getReportBufferLevelWarningEvent()
public ReportBufferOverflowErrorEvent getReportBufferOverflowErrorEvent()
public ReaderExceptionEvent getReaderExceptionEvent()
public RFSurveyEvent getRFSurveyEvent()
public AISpecEvent getAISpecEvent()
public AntennaEvent getAntennaEvent()
public ConnectionAttemptEvent getConnectionAttemptEvent()
public ConnectionCloseEvent getConnectionCloseEvent()
public java.util.List<Custom> getCustomList()
public void addToCustomList(Custom custom)
custom
- of type Custompublic 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 |