/** * Read the role vendor data from the ChannelBuffer * * @param data the channel buffer from which we're deserializing * @param length the length to the end of the enclosing message */ public void readFrom(ChannelBuffer data, int length) { super.readFrom(data, length); role = data.readInt(); }