TipcSrvMonExtSetUtf8Array add or update a field containing an array of type UTF8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
T_BOOL TipcSrvMonExtSetUtf8Array(srv, field_name, data, size
) T_IPC_SRVsrv
; T_STRfield_name
; T_STR *data
; T_INT4size
;
srv
connection handle to the RTserver
field_name
name of a field in the RTclient’s MON_CLIENT_EXT_POLL_RESULT message.
data
the RTclient information to write to field_name
in the MON_CLIENT_EXT_POLL_RESULT message.
size
number of elements in the field.
TRUE
if the field was added or updated, FALSE
otherwise.
If TipcSrvMonExtSetUtf8Array fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcSrvMonExtSetUtf8Array creates a field containing an array of type UTF8 in the RTclient’s MON_CLIENT_EXT_POLL_RESULT message to associate with one of the RTclient’s fields. If the field in the MON_CLIENT_EXT_POLL_RESULT message does not exist, it is created and updated with the value of data
. If the field already exists in the MON_CLIENT_EXT_POLL_RESULT message, TipcSrvMonExtSetUtf8Array only updates it with the value of data
.
Use other TipcSrvMonExt* APIs as necessary to define extension data in each RTclient that is polled by TipcSrvMonClientExtPoll.
See the example for TipcSrvMonClientExtPoll.
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |