|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for listening for rate-related events on a RateMonitor
.
Method Summary | |
void |
detached(RateMonitor rateMonitor,
ClientSnacProcessor processor)
Called when the given rate monitor was "detached" from the given SNAC processor. |
void |
gotRateClasses(RateMonitor monitor)
Called when the given rate monitor receives a new set of rate class information. |
void |
rateClassLimited(RateMonitor rateMonitor,
RateClassMonitor rateClassMonitor,
boolean limited)
Called when a single rate class becomes or stops becoming "rate-limited." |
void |
rateClassUpdated(RateMonitor rateMonitor,
RateClassMonitor rateClassMonitor,
RateClassInfo rateClassInfo)
Called when a single rate class's information has been updated. |
void |
reset(RateMonitor rateMonitor)
Called when the rate information for the given rate monitor has been reset. |
Method Detail |
public void gotRateClasses(RateMonitor monitor)
RateClassMonitor
s in the given RateMonitor
have been discarded and a new set has been generated.
monitor
- the rate monitor that received new rate class informationpublic void rateClassUpdated(RateMonitor rateMonitor, RateClassMonitor rateClassMonitor, RateClassInfo rateClassInfo)
rateMonitor
- the rate monitor whose rate class was updatedrateClassMonitor
- the rate class monitor for the associated
rate classrateClassInfo
- the new rate class informationpublic void rateClassLimited(RateMonitor rateMonitor, RateClassMonitor rateClassMonitor, boolean limited)
rateMonitor
- the rate monitor whose rate class's limited status
changedrateClassMonitor
- the rate class monitor for the associated rate
classlimited
- whether or not the rate class is limitedpublic void detached(RateMonitor rateMonitor, ClientSnacProcessor processor)
RateMonitor.detach()
for details; in brief, this
callback's invocation indicates that no further work should be done
involving the given rate monitor, and it is recommended that listeners
remove themselves as listeners upon a call to this method.
rateMonitor
- the rate monitor that was detachedprocessor
- the SNAC processor from which the given rate monitor was
detachedpublic void reset(RateMonitor rateMonitor)
RateMonitor.reset()
for details.
rateMonitor
- the rate monitor whose rate information was reset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |