|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpops.ale.engine.collect.Grouping
public class Grouping
Aggregation engine.
Wrapper Class of the Groups
class with a pool of reusable EPC objects.
Plus an interface for grouping incoming tags as arrays of bytes, by wrapping
sgtin96 and sgln96 codecs.
Field Summary | |
---|---|
protected boolean |
beepOnDetection
Flag indicating to beep on detection of a tag. |
protected boolean |
beepOnNewDetection
Flag indicating to on detection of a new tag. |
Constructor Summary | |
---|---|
Grouping()
Constructor |
Method Summary | |
---|---|
void |
addGroupPattern(java.lang.String[] patternList,
UriRepresentation uriRepresentation)
Adds a list grouping pattern to the group list. |
boolean |
aggregate(byte header,
byte[] tagData,
long timeStamp,
Epc groupingWrapper)
Aggregate a received tag. |
ECReport |
buildReporGroups(ECSpec spec)
Generate the final report. |
void |
cleanUp()
Clean up procedure for recycling aggregation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean beepOnDetection
protected boolean beepOnNewDetection
Constructor Detail |
---|
public Grouping()
Method Detail |
---|
public void addGroupPattern(java.lang.String[] patternList, UriRepresentation uriRepresentation)
patternList
- Uri
- representation of the patterns.addGroupPattern(String)
public boolean aggregate(byte header, byte[] tagData, long timeStamp, Epc groupingWrapper)
header
- tag type.tagData
- received tag data : identity epc.timeStamp
- reception timegroupingWrapper
- a grouping wrapper.
public ECReport buildReporGroups(ECSpec spec)
spec
- the spec object ((with restricstion)) to include fields accordingly.
public void cleanUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |