public class SerializingListener<T extends SequenceElement> extends Object implements VectorsListener<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
SerializingListener.Builder<T extends SequenceElement> |
| Modifier | Constructor and Description |
|---|---|
protected |
SerializingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
processEvent(ListenerEvent event,
SequenceVectors<T> sequenceVectors,
long argument)
This method is called at each epoch end
|
boolean |
validateEvent(ListenerEvent event,
long argument)
This method is called prior each processEvent call, to check if this specific VectorsListener implementation is viable for specific event
|
public boolean validateEvent(ListenerEvent event, long argument)
validateEvent in interface VectorsListener<T extends SequenceElement>event - argument - public void processEvent(ListenerEvent event, SequenceVectors<T> sequenceVectors, long argument)
processEvent in interface VectorsListener<T extends SequenceElement>event - sequenceVectors - argument - Copyright © 2017. All rights reserved.