public interface RateShaper
| Modifier and Type | Method and Description |
|---|---|
int |
getByteRate()
Returns the bytes per tick (after prescaling) for this rate shaper.
|
int |
getPrescale()
Returns the current prescale value (ie.
|
void |
setByteRate(int byteRate)
Sets a new byte rate per tick (after prescaling) for this rate shaper.
|
void |
setPrescale(int prescale)
Sets a new prescale value (ie.
|
void setByteRate(int byteRate)
byteRate - the new byte rate per tick (after prescaling)int getByteRate()
int getPrescale()
void setPrescale(int prescale)
prescale - the new prescaleCopyright © 2015. All rights reserved.