|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.DummyBWControlService
public class DummyBWControlService
A dummy bandwidth control service (bandwidth controller) that always has token available.
Field Summary |
---|
Fields inherited from interface org.red5.server.stream.IBWControlService |
---|
KEY |
Constructor Summary | |
---|---|
DummyBWControlService()
|
Method Summary | |
---|---|
ITokenBucket |
getAudioBucket(IBWControlContext context)
Return the token bucket for audio channel. |
ITokenBucket |
getDataBucket(IBWControlContext context)
Return the token bucket for data channel. |
ITokenBucket |
getVideoBucket(IBWControlContext context)
Return the token bucket for video channel. |
IBWControlContext |
lookupContext(IBWControllable bc)
Lookup the registry context according to the controllable. |
IBWControlContext |
registerBWControllable(IBWControllable bc)
Register a bandwidth controllable. |
void |
resetBuckets(IBWControlContext context)
Reset all the token buckets for a controllable. |
void |
unregisterBWControllable(IBWControlContext context)
Unregister the bandwidth controllable. |
void |
updateBWConfigure(IBWControlContext context)
Update the bandwidth configuration of a controllable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyBWControlService()
Method Detail |
---|
public ITokenBucket getAudioBucket(IBWControlContext context)
IBWControlService
getAudioBucket
in interface IBWControlService
context
- The registry context.
public ITokenBucket getDataBucket(IBWControlContext context)
IBWControlService
getDataBucket
in interface IBWControlService
context
- The registry context.
public ITokenBucket getVideoBucket(IBWControlContext context)
IBWControlService
getVideoBucket
in interface IBWControlService
context
- The registry context.
public IBWControlContext registerBWControllable(IBWControllable bc)
IBWControlService
registerBWControllable
in interface IBWControlService
bc
- The bandwidth controllable.
public void resetBuckets(IBWControlContext context)
IBWControlService
resetBuckets
in interface IBWControlService
context
- The registry context.public void unregisterBWControllable(IBWControlContext context)
IBWControlService
unregisterBWControllable
in interface IBWControlService
context
- The registry context.public void updateBWConfigure(IBWControlContext context)
IBWControlService
updateBWConfigure
in interface IBWControlService
context
- The registry context.public IBWControlContext lookupContext(IBWControllable bc)
IBWControlService
lookupContext
in interface IBWControlService
bc
- The bandwidth controllable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |