net.named_data.jndn.encoding
public interface ElementListener
| Modifier and Type | Method and Description |
|---|---|
void |
onReceivedElement(ByteBuffer element)
This is called when an entire element is received.
|
void onReceivedElement(ByteBuffer element) throws EncodingException
element - The element. This buffer is only valid during this call.
If you need the data later, you must copy.EncodingExceptionCopyright © 2016. All rights reserved.