|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.event.CachedEvent
public class CachedEvent
Provides a means for storage of RTMP events.
Constructor Summary | |
---|---|
CachedEvent()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
IoBuffer |
getData()
Packet contents. |
byte |
getDataType()
Type of this packet. |
long |
getReceivedTime()
|
int |
getTimestamp()
Timestamp of this packet. |
int |
hashCode()
|
void |
setData(IoBuffer data)
|
void |
setDataType(byte dataType)
|
void |
setReceivedTime(long receivedTime)
|
void |
setTimestamp(int timestamp)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedEvent()
Method Detail |
---|
public int getTimestamp()
IStreamPacket
getTimestamp
in interface IStreamPacket
public void setTimestamp(int timestamp)
timestamp
- the timestamp to setpublic long getReceivedTime()
public void setReceivedTime(long receivedTime)
receivedTime
- the receivedTime to setpublic byte getDataType()
IStreamPacket
TYPE_
constants.
getDataType
in interface IStreamPacket
public void setDataType(byte dataType)
dataType
- the dataType to setpublic IoBuffer getData()
IStreamPacket
getData
in interface IStreamPacket
public void setData(IoBuffer data)
data
- the data to setpublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |