public class ReaderEventNotificationData extends TLVParameter
Modifier and Type | Field and Description |
---|---|
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 |
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
decodeBinary, encodeBinary
getByteLength
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
public ReaderEventNotificationData()
public ReaderEventNotificationData(LLRPBitList list)
list
- to be decodedpublic ReaderEventNotificationData(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 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
Copyright © 2007 ETH Zurich.