TipcMsgUpdateNamedUtf8 update a named UTF8 field in a message with new data
msg
message to update field in
name
name of the field
value
new value of the field
TRUE
if the update was successful, FALSE
otherwise.
If TipcMsgUpdateNamedUtf8 fails, it returns FALSE
and sets the global SmartSockets error number to one of:
T_ERR_NULL_PTR msg
, name
or value
is null
T_ERR_MSG_INVALID msg
was not a valid message
T_ERR_FT_MISMATCH the message type grammar did not match the fields in the message
T_ERR_READ_ONLY msg
was marked read-only. This happens if the message is a field in another message.
T_ERR_VALUE_INVALID value
was not a valid value
TipcMsgUpdateNamedUtf8 updates a UTF8 field specified by field name.
TipcMsgAddNamedUtf8, TipcMsgGetNamedUtf8
This example changes the value of the named field "data
":
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |