Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Creating and Initializing Events | Creating Events | General Event Functions
 
General Event Functions
After creating an event, you may use the awCopyEvent function to create a new event, copying the contents of an existing event to the new event.
You may also use the awErrorToString function to convert the fields of an event to a string that is suitable for display.
The awEventToFormattedString function also lets you convert the fields of an event to a string that is suitable for display. Unlike the awEventToString function, this function lets you control the format of the resulting string. This function uses the C language locale to convert event fields that have a data type of double, float, or BrokerDate.
The awEventToLocalizedString uses the current locale to convert all of an event's fields into a string that is suitable for display.
Use the awGetEventClient to obtain the Broker client associated with an event.