|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.rtmp.message.Header
public class Header
RTMP packet header
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Header()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
boolean |
equals(Object other)
|
int |
getChannelId()
Getter for channel id |
byte |
getDataType()
Getter for data type |
int |
getSize()
Getter for size. |
int |
getStreamId()
Getter for stream id |
int |
getTimer()
Getter for timer |
boolean |
isTimerRelative()
Getter for timer relative flag |
void |
readExternal(ObjectInput in)
|
void |
setChannelId(int channelId)
Setter for channel id |
void |
setDataType(byte dataType)
Setter for data type |
void |
setSize(int size)
Setter for size |
void |
setStreamId(int streamId)
Setter for stream id |
void |
setTimer(int timer)
Setter for timer |
void |
setTimerRelative(boolean timerRelative)
Setter for timer relative flag |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Header()
| Method Detail |
|---|
public int getChannelId()
public void setChannelId(int channelId)
channelId - Header channel idpublic byte getDataType()
public void setDataType(byte dataType)
dataType - Data typepublic int getSize()
public void setSize(int size)
size - Header sizepublic int getStreamId()
public void setStreamId(int streamId)
streamId - Stream idpublic int getTimer()
public void setTimer(int timer)
timer - Timerpublic boolean isTimerRelative()
true if timer value is relative, false otherwisepublic void setTimerRelative(boolean timerRelative)
timerRelative - true if timer values are relative, false otherwisepublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Objectpublic Object clone()
clone in class Object
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||