protected synchronized void setOutgoingMessageThrottle ( int msgsPerSec ) { log . info ( "Updating outgoing message throttle" , "msgsPerSec" , msgsPerSec ) ; _outThrottle . reinit ( msgsPerSec , 1000L ) ; _comm . postMessage ( new ThrottleUpdatedMessage ( ) ) ; }
Configures the outgoing message throttle . This is done when the server informs us that a new rate is in effect .