|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.rtmp.event.BaseEvent
org.red5.server.net.rtmp.event.BytesRead
public class BytesRead
Bytes read event
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.red5.server.api.event.IEvent |
|---|
IEvent.Type |
| Field Summary |
|---|
| Fields inherited from class org.red5.server.net.rtmp.event.BaseEvent |
|---|
extendedTimestamp, header, object, refcount, source, timestamp |
| Constructor Summary | |
|---|---|
BytesRead()
|
|
BytesRead(int bytesRead)
Creates new event with given bytes number |
|
| Method Summary | |
|---|---|
protected void |
doRelease()
Release event (set bytes read to zero) |
int |
getBytesRead()
Return number of bytes read |
byte |
getDataType()
Getter for data type |
void |
readExternal(ObjectInput in)
|
protected void |
releaseInternal()
Release event |
void |
setBytesRead(int bytesRead)
Setter for bytes read |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.red5.server.net.rtmp.event.BaseEvent |
|---|
getExtendedTimestamp, getHeader, getObject, getSource, getTimestamp, getType, hasSource, release, retain, setExtendedTimestamp, setHeader, setSource, setTimestamp, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BytesRead()
public BytesRead(int bytesRead)
bytesRead - Number of bytes read| Method Detail |
|---|
public byte getDataType()
getDataType in interface IRTMPEventgetDataType in class BaseEventpublic int getBytesRead()
public void setBytesRead(int bytesRead)
bytesRead - Number of bytes readprotected void doRelease()
public String toString()
toString in class Objectprotected void releaseInternal()
releaseInternal in class BaseEvent
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class BaseEventIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class BaseEventIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||