@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    super.toData(out, context);
    out.writeByte(_actionCode);
    DataSerializer.writeObjectArray(_alertDefinitions, out);
  }
Returns a <code>FetchHostRequest</code> to be sent to the specified recipient.

@param alertDefs an array of stat alert definitions to set
@param actionCode either of ADD_ALERT_DEFINITION, UPDATE_ALERT_DEFINITION,
       REMOVE_ALERT_DEFINITION
geode-core/src/main/java/org/apache/geode/internal/admin/remote/UpdateAlertDefinitionMessage.java