|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.datcracker.core.Cell
org.datcracker.core.cell.buffer.Buffer
org.datcracker.core.cell.buffer.BatchOfSamples
public class BatchOfSamples
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.datcracker.core.Cell |
---|
Cell.CellMethod, Cell.State |
Field Summary |
---|
Fields inherited from class org.datcracker.core.cell.buffer.Buffer |
---|
meta |
Fields inherited from class org.datcracker.core.Cell |
---|
parameters, source |
Constructor Summary | |
---|---|
BatchOfSamples()
|
Method Summary | |
---|---|
void |
add(Sample sample)
|
protected void |
onClose()
Called by Cell.close() . |
protected Sample |
onNext()
Called by Cell.next() . |
protected Sample.MetaSample |
onOpen()
Called by Cell.open() . |
Methods inherited from class org.datcracker.core.cell.buffer.Buffer |
---|
setMeta |
Methods inherited from class org.datcracker.core.Cell |
---|
build, close, erase, getParameters, next, onBuild, onErase, open, set, setParameters, setSource, state, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BatchOfSamples()
Method Detail |
---|
public void add(Sample sample)
protected Sample.MetaSample onOpen() throws java.lang.Exception
Cell
Cell.open()
. Performs the actual opening of
communication session,
while open
checks only against access violation and handles exceptions.
Must be overridden in subclasses if open
is to be used.
onOpen
in class Cell
java.lang.Exception
protected Sample onNext() throws java.lang.Exception
Cell
Cell.next()
. Performs the actual generation of the next sample,
while next
checks only against access violation and handles exceptions.
Must be overridden in subclasses if next
is to be used.
onNext
in class Cell
java.lang.Exception
protected void onClose() throws java.lang.Exception
Cell
Cell.close()
. Performs the actual closing of
communication session,
while close
checks only against access violation and handles exceptions.
Must be overridden in subclasses if close
is to be used.
Usually the overrider will use onClose to release resources,
to let them be garbage-collected.
onClose
in class Cell
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |