code: public void readData(DataInput din) throws IOException {
          status = din.readUnsignedShort();
          events = din.readUnsignedShort();
      }
docs: readData -- input the Modbus message from din. If there was a header,
  such as for Modbus/TCP, it will have been read already.
  @throws java.io.IOException If the data cannot be read