Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013-2015 Regents of the University of California.

Jeff Thompson <> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <>. A copy of the GNU Lesser General Public License is in the file COPYING.
package net.named_data.jndn.encoding;
A class implements ElementListener if it has onReceivedElement which is used by BinaryXmlElementReader.onReceivedData.
public interface ElementListener
This is called when an entire binary XML element is received.

element The binary XML element. This buffer is only valid during this call. If you need the data later, you must copy.
  void onReceivedElement(ByteBuffer elementthrows EncodingException;
New to GrepCode? Check out our FAQ X