|
||||||||||
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.ClientBW
public class ClientBW
Client bandwidth event. Also known as a Peer Bandwidth message.
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 |
---|
header, object, refcount, source, timestamp |
Constructor Summary | |
---|---|
ClientBW()
|
|
ClientBW(int bandwidth,
byte limitType)
|
Method Summary | |
---|---|
int |
getBandwidth()
Getter for property 'bandwidth'. |
byte |
getDataType()
Getter for data type |
byte |
getLimitType()
Getter for limitType |
void |
readExternal(ObjectInput in)
|
protected void |
releaseInternal()
Release event |
void |
setBandwidth(int bandwidth)
Setter for bandwidth |
void |
setLimitType(byte limitType)
Setter for property 'limitType'. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class org.red5.server.net.rtmp.event.BaseEvent |
---|
getHeader, getObject, getSource, getSourceType, getTimestamp, getType, hasSource, release, retain, setHeader, setSource, setSourceType, setTimestamp, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientBW()
public ClientBW(int bandwidth, byte limitType)
Method Detail |
---|
public byte getDataType()
getDataType
in interface IRTMPEvent
getDataType
in class BaseEvent
public int getBandwidth()
public void setBandwidth(int bandwidth)
bandwidth
- New bandwidthpublic byte getLimitType()
public void setLimitType(byte limitType)
limitType
- Value to set for property 'limitType'.public String toString()
toString
in class Object
protected void releaseInternal()
releaseInternal
in class BaseEvent
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseEvent
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseEvent
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |