public class Frame extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
inPartition |
| Modifier | Constructor and Description |
|---|---|
protected |
Frame(Partition partition,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
Frame |
clone() |
byte[] |
getData() |
long |
getDuration() |
Format |
getFormat() |
String |
getHeader() |
int |
getLength() |
int |
getOffset() |
long |
getSequenceNumber() |
long |
getTimestamp() |
boolean |
isEOM() |
void |
recycle() |
protected void |
reset() |
void |
setDuration(long duration) |
void |
setEOM(boolean value) |
void |
setFormat(Format format) |
void |
setHeader(String header) |
void |
setLength(int length) |
void |
setOffset(int offset) |
void |
setSequenceNumber(long sn) |
void |
setTimestamp(long timestamp) |
protected AtomicBoolean inPartition
protected Frame(Partition partition, byte[] data)
protected void reset()
public String getHeader()
public void setHeader(String header)
public int getOffset()
public void setOffset(int offset)
public int getLength()
public void setLength(int length)
public byte[] getData()
public long getTimestamp()
public void setTimestamp(long timestamp)
public long getDuration()
public void setDuration(long duration)
public long getSequenceNumber()
public void setSequenceNumber(long sn)
public boolean isEOM()
public void setEOM(boolean value)
public Format getFormat()
public void setFormat(Format format)
public void recycle()
Copyright © 2016 TeleStax, Inc.. All Rights Reserved.