event | The event whose sequence field is to be set. |
field_name | Name of the destination event field. |
src_offset | Elements to skip from the beginning of the source elements. |
dest_offset | Elements to skip from the beginning of the sequence. |
n | Number of source elements. |
value_array | The source value array. The sequence value type is different depending on the function as follows awSetBooleanSeqField has a sequence value type of BrokerBoolean *. awSetByteSeqField has a sequence value type of char *. awSetCharSeqField has a sequence value type of char *. awSetDateSeqField has a sequence value type of BrokerDate *. awSetDoubleSeqField has a sequence value type of double *. awSetFloatSeqField has a sequence value type of float *. awSetIntegerSeqField has a sequence value type of int *. awSetLongSeqField has a sequence value type of BrokerLong *. awSetShortSeqField has a sequence value type of short *. awSetStringSeqField has a sequence value type of char **. awSetUCCharSeqField has a sequence value type of charUC *. awSetUCStringSeqField has a sequence value type of charUC **. |
Possible BrokerError major codes | Meaning |
AW_ERROR_FIELD_NOT_FOUND | The event is associated with a Broker client and field_name does not exist in the event. |
AW_ERROR_FIELD_TYPE_MISMATCH | The field's type does not match the type of value or the field_name incorrectly accesses a type. |
AW_ERROR_INVALID_EVENT | The event is invalid. |
AW_ERROR_INVALID_FIELD_NAME | The field_name is invalid. |
AW_ERROR_NULL_PARAM | The parameter field_name or value is NULL. |
AW_ERROR_OUT_OF_RANGE | The src_offset is out of range, the dest_offset is less than zero, or n is less than zero. |