public class NetStreamDecoder extends SourceBase implements ByteDecoder
SourceBase.ElementType
Constructor and Description |
---|
NetStreamDecoder() |
Modifier and Type | Method and Description |
---|---|
void |
decode(java.nio.ByteBuffer bb)
Decode the buffer, and dispatch the corresponding event.
|
boolean |
validate(java.nio.ByteBuffer buffer)
Tells if the buffer contains an event that is ready to be dispatched.
|
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public boolean validate(java.nio.ByteBuffer buffer)
ByteDecoder
validate
in interface ByteDecoder
public void decode(java.nio.ByteBuffer bb)
ByteDecoder
decode
in interface ByteDecoder
bb
- event as a binary buffer