public class RTCPIterator extends java.lang.Object implements java.util.Iterator<ByteArrayBuffer>
Iterator
for RTCP packets contained in a compound RTCP packet.
For a PacketTransformer
that splits compound RTCP packets into
individual RTCP packets CompoundPacketEngine
.
Instances of this class are not thread-safe. If multiple threads access an
instance concurrently, it must be synchronized externally.Constructor and Description |
---|
RTCPIterator(ByteArrayBuffer baf)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
ByteArrayBuffer |
next() |
void |
remove() |
public RTCPIterator(ByteArrayBuffer baf)
baf
- The ByteArrayBuffer
that holds the compound RTCP
packet to iterate.public boolean hasNext()
hasNext
in interface java.util.Iterator<ByteArrayBuffer>
public ByteArrayBuffer next()
next
in interface java.util.Iterator<ByteArrayBuffer>
public void remove()
remove
in interface java.util.Iterator<ByteArrayBuffer>
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.