private IoBuffer encodeClientBW ( ClientBW clientBW ) { final IoBuffer out = IoBuffer . allocate ( 5 ) ; out . putInt ( clientBW . getBandwidth ( ) ) ; out . put ( clientBW . getLimitType ( ) ) ; return out ; }
Encode client - side bandwidth event .