Package org.jitsi.service.neomedia
Class RawPacket.HeaderExtensions
- java.lang.Object
-
- org.jitsi.service.neomedia.RawPacket.HeaderExtensions
-
- All Implemented Interfaces:
Iterator<RawPacket.HeaderExtension>
- Enclosing class:
- RawPacket
public class RawPacket.HeaderExtensions extends Object implements Iterator<RawPacket.HeaderExtension>
Implements an iterator over the RTP header extensions of aRawPacket.
-
-
Constructor Summary
Constructors Constructor Description HeaderExtensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Returns true if thisRawPacketcontains another header extension.RawPacket.HeaderExtensionnext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if thisRawPacketcontains another header extension.- Specified by:
hasNextin interfaceIterator<RawPacket.HeaderExtension>
-
next
public RawPacket.HeaderExtension next()
- Specified by:
nextin interfaceIterator<RawPacket.HeaderExtension>- Returns:
- the next header extension of this
RawPacket. Note that it reuses the same object and only update its state.
-
-