|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBWControllable
Mark an object that can be bandwidth controlled.
A bw-controlled object has the bandwidth config property and a link to the parent controllable object.
The parent controllable object acts as the bandwidth provider for this object, thus generates a tree structure, in which the null parent means the host. The next depth level is the IClient. The following is IStreamCapableConnection. The deepest level is IClientStream. That is, bandwidth can be separately configured for client stream or connection, or client or the whole application.
The summary of children's bandwidth can't exceed the parent's bandwidth even though the children's bandwidth could be configured larger than the parent's bandwidth.
Method Summary | |
---|---|
IBandwidthConfigure |
getBandwidthConfigure()
Return bandwidth configuration object. |
IBWControllable |
getParentBWControllable()
Return parent IFlowControllable object |
void |
setBandwidthConfigure(IBandwidthConfigure config)
Setter for bandwidth configuration |
Method Detail |
---|
IBWControllable getParentBWControllable()
IBandwidthConfigure getBandwidthConfigure()
void setBandwidthConfigure(IBandwidthConfigure config)
config
- Value to set for bandwidth configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |