code: private IoBuffer encodeServerBW(ServerBW serverBW) {
          final IoBuffer out = IoBuffer.allocate(4);
          out.putInt(serverBW.getBandwidth());
          return out;
      }
docs: Encode server-side bandwidth event.
  
  @param serverBW
  Server-side bandwidth event
  @return Encoded event data