Package com.wowza.util
Class PacketFragmentList
- Object
-
- com.wowza.util.PacketFragmentList
-
public class PacketFragmentList extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
duration
protected java.util.List<IPacketFragment>
fragments
protected int
size
protected long
startTime
-
Constructor Summary
Constructors Constructor Description PacketFragmentList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPacketFragment(int insertLoc, IPacketFragment fragment)
void
addPacketFragment(IPacketFragment fragment)
void
addPacketFragments(PacketFragmentList frags)
void
clearFragment()
PacketFragmentList
clone()
long
getDuration()
java.util.List<IPacketFragment>
getFragments()
java.util.List<IPacketFragment>
getFragmentsInternal()
long
getStartTime()
void
removeBytes(int offset, int len)
IPacketFragment
removeFragment(int index)
void
setDuration(long duration)
void
setStartTime(long startTime)
int
size()
byte[]
toByteArray()
byte[]
toByteArray(boolean copy)
-
-
-
Field Detail
-
fragments
protected java.util.List<IPacketFragment> fragments
-
size
protected int size
-
startTime
protected long startTime
-
duration
protected long duration
-
-
Method Detail
-
clone
public PacketFragmentList clone()
- Overrides:
clone
in classObject
-
addPacketFragments
public void addPacketFragments(PacketFragmentList frags)
-
addPacketFragment
public void addPacketFragment(IPacketFragment fragment)
-
addPacketFragment
public void addPacketFragment(int insertLoc, IPacketFragment fragment)
-
removeFragment
public IPacketFragment removeFragment(int index)
-
removeBytes
public void removeBytes(int offset, int len)
-
clearFragment
public void clearFragment()
-
size
public int size()
-
getFragmentsInternal
public java.util.List<IPacketFragment> getFragmentsInternal()
-
getFragments
public java.util.List<IPacketFragment> getFragments()
-
getStartTime
public long getStartTime()
-
setStartTime
public void setStartTime(long startTime)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
toByteArray
public byte[] toByteArray()
-
toByteArray
public byte[] toByteArray(boolean copy)
-
-