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, TYPENUMBERLENGTHbitLength| 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.
|
ReaderEventNotificationData(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 |
|---|---|
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, encodeBinarygetByteLengthpublic 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(LLRPBitList list, int bitIndex, int length)
list - to be decodedbitIndex - the bit at which to start decodinglength - the number of bits to decodepublic ReaderEventNotificationData(org.jdom.Element element)
throws InvalidLLRPMessageException
element - to be decodedInvalidLLRPMessageExceptionpublic LLRPBitList encodeBinarySpecific()
encodeBinarySpecific in class TLVParameterpublic org.jdom.Content encodeXML(java.lang.String name,
org.jdom.Namespace ns)
encodeXML in class LLRPParametername - of elementns - Namespace of elementsprotected void decodeBinarySpecific(LLRPBitList binary)
decodeBinarySpecific in class TLVParameterbinary - binary representation of the parameterpublic void decodeXML(org.jdom.Element element)
throws InvalidLLRPMessageException
decodeXML in class LLRPParameterelement - to be decodedInvalidLLRPMessageExceptionpublic 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 LLRPParameterpublic java.lang.String getName()
getName in class LLRPParameterpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007 ETH Zurich.