There are two types of monitoring data that SmartSockets supports when monitoring your distributed application:
You can also use these functions to locate processes on the network. For example, you can find all the RTclients subscribed to subject /system/thermal
. In general, the TipcMon* functions use the RTserver to retrieve the monitoring information.
In general, two types of monitoring are supported:
The TipcMon*Poll functions are used to do a one-time poll for information about various aspects of a SmartSockets project or to retrieve data generated by an RTclient, referred to as extension data.
TipcMonClientBufferPoll poll once for RTclient message-related buffer information
TipcMonClientCbPoll poll once for RTclient callback information
TipcMonClientCpuPoll poll for the percentage of CPU time used by an RTclient
TipcMonClientExtPoll poll for extension data of an RTclient
TipcMonClientGeneralPoll poll once for RTclient general information
TipcMonClientInfoPoll poll for RTclient information
TipcMonClientMsgTrafficPoll poll once for RTclient message traffic information
TipcMonClientMsgTypeExPoll poll once for RTclient message type information
T_BOOL TipcMonClientMsgTypeExPoll(client_name
,msg_type_name
) T_STRclient_name
; T_STRmsg_type_name
;
![]() |
The previous
Ex function supersedes its older counterpart for all new development. Use the following older method only when operating with clients prior to release 6.7.
|
TipcMonClientMsgTypePoll poll once for RTclient message type information
TipcMonClientNamesNumPoll poll for the number of RTclients in the current project that match the value of the Monitor_Scope option
TipcMonClientNamesPoll poll once for RTclient names
TipcMonClientOptionPoll poll once for RTclient option information
TipcMonClientSubjectExPoll poll once for RTclient subject information
![]() |
The previous
Ex function supersedes its older counterpart for all new development. Use the following older method only when operating with clients prior to release 6.7.
|
TipcMonClientSubjectPoll poll once for RTclient subject information
TipcMonClientSubscribeNumPoll poll for the number of subjects subscribed to by an RTclient
TipcMonClientSubscribePoll poll once for subjects to which an RTclient subscribes
TipcMonClientTimePoll poll once for RTclient time information
TipcMonClientVersionPoll poll once for RTclient version
TipcMonProjectNamesPoll poll once for project names
TipcMonServerBufferPoll poll once for RTserver message-related buffer information
T_BOOL TipcMonServerBufferPoll(server_name
,connected_process_name
) T_STRserver_name
; T_STRconnected_process_name
;
TipcMonServerConnPoll poll once for RTserver connections
TipcMonServerCpuPoll poll for the percentage of CPU time used by an RTserver
TipcMonServerGeneralPoll poll once for RTserver general information
TipcMonServerMsgTrafficExPoll poll once for RTserver message traffic information
T_BOOL TipcMonServerMsgTrafficExPoll(server_name
,connected_process_name
) T_STRserver_name
; T_STRconnected_process_name
;
![]() |
The previous
Ex function supersedes its older counterpart for all new development. Use the following older method only when operating with servers prior to release 6.7.
|
TipcMonServerMsgTrafficPoll poll once for RTserver message traffic information
T_BOOL TipcMonServerMsgTrafficPoll(server_name
,connected_process_name
) T_STRserver_name
; T_STRconnected_process_name
;
TipcMonServerNamesPoll poll once for RTserver names
TipcMonServerOptionPoll poll once for RTserver option information
TipcMonServerRoutePoll poll once for RTserver route information
T_BOOL TipcMonServerRoutePoll(server_name
,dest_server_name
) T_STRserver_name
; T_STRdest_server_name
;
TipcMonServerStartTimePoll poll once for RTserver start time and elapsed time
TipcMonServerTimePoll poll once for RTserver time information
TipcMonServerVersionPoll poll once for RTserver version information
TipcMonSubjectNamesPoll poll once for subject names
TipcMonSubjectSubscribePoll poll once for RTclients that are subscribing to a subject
The TipcMon*Watch functions are used to set up asynchronous notification when specified information in a SmartSockets project changes.
TipcMonClientBufferGetWatch determine whether this RTclient is watching message-related buffer information in an RTclient
T_BOOL TipcMonClientBufferGetWatch(client_name
,watch_status_return
) T_STRclient_name
; T_BOOL *watch_status_return
;
TipcMonClientBufferSetWatch start or stop watching RTclient message-related buffer information
T_BOOL TipcMonClientBufferSetWatch(client_name
,watch_status
) T_STRclient_name
; T_BOOLwatch_status
;
TipcMonClientCongestionGetWatch determine if the RTclient is watching a client's write buffer for congestion
T_BOOL TipcMonClientCongestionGetWatch(client_name
,watch_status_return
) T_STRclient_name
; T_BOOL *watch_status_return
;
TipcMonClientCongestionSetWatch start or stop watching for congestion in an RTclient’s write buffer
T_BOOL TipcMonClientCongestionSetWatch(client_name
,high_water
,low_water
,watch_status
) T_STRclient_name
; T_INT4high_water
; T_INT4low_water
; T_BOOLwatch_status
;
TipcMonClientMsgRecvGetWatch determine whether this RTclient is watching received messages in an RTclient
T_BOOL TipcMonClientMsgRecvGetWatch(client_name
,msg_type_name
,watch_status_return
) T_STRclient_name
; T_STRmsg_type_name
; T_BOOL *watch_status_return
;
TipcMonClientMsgRecvSetWatch start or stop watching RTclient received messages
T_BOOL TipcMonClientMsgRecvSetWatch(client_name
,msg_type_name
,watch_status
) T_STRclient_name
; T_STRmsg_type_name
; T_BOOLwatch_status
;
TipcMonClientMsgSendGetWatch determine whether this RTclient is watching sent messages in an RTclient
T_BOOL TipcMonClientMsgSendGetWatch(client_name
,msg_type_name
,watch_status_return
) T_STRclient_name
; T_STRmsg_type_name
; T_BOOL *watch_status_return
;
TipcMonClientMsgSendSetWatch start or stop watching RTclient sent messages
T_BOOL TipcMonClientMsgSendSetWatch(client_name
,msg_type_name
,watch_status
) T_STRclient_name
; T_STRmsg_type_name
; T_BOOLwatch_status
;
TipcMonClientNamesGetWatch determine whether this RTclient is watching RTclient names
TipcMonClientNamesSetWatch start or stop watching RTclient names
TipcMonClientSubscribeGetWatch determine whether this RTclient is watching the subjects that an RTclient is subscribing to
T_BOOL TipcMonClientSubscribeGetWatch(client_name
,watch_status_return
) T_STRclient_name
; T_BOOL *watch_status_return
;
TipcMonClientSubscribeSetWatch start or stop watching the subjects that an RTclient is subscribing to
T_BOOL TipcMonClientSubscribeSetWatch(client_name
,watch_status
) T_STRclient_name
; T_BOOLwatch_status
;
TipcMonClientTimeGetWatch determine whether this RTclient is watching time information in an RTclient
T_BOOL TipcMonClientTimeGetWatch(client_name
,watch_status_return
) T_STRclient_name
; T_BOOL *watch_status_return
;
TipcMonClientTimeSetWatch start or stop watching RTclient time information
TipcMonPrintWatch print all monitoring categories being watched
TipcMonProjectNamesGetWatch determine whether this RTclient is watching project names
TipcMonProjectNamesSetWatch start or stop watching project names
TipcMonServerCongestionGetWatch determine if the server is watching for congestion in the RTserver write buffer of a connected process
T_BOOL TipcMonServerCongestionGetWatch(server_name
,connected_process_name
,watch_status_return
) T_STRserver_name
; T_STRconnected_process_name
; T_BOOL *watch_status_return
;
TipcMonServerCongestionSetWatch start or stop watching for congestion in the RTserver write buffer of a connected process
T_BOOL TipcMonServerCongestionSetWatch(server_name
,connected_process_name
,high_water
,low_water
,watch_status
) T_STRserver_name
; T_STRconnected_process_name
; T_INT4high_water
; T_INT4low_water
; T_BOOLwatch_status
;
TipcMonServerConnGetWatch determine whether this RTclient is watching RTserver connections
TipcMonServerConnSetWatch start or stop watching RTserver connections
TipcMonServerMaxClientLicensesGetWatch determine if the RTserver is watching for the server cloud to exceed the licensed number of RTclient connections
T_BOOL TipcMonServerMaxClientLicensesGetWatch(server_name
,watch_status_return
) T_STRserver_name
; T_BOOL *watch_status_return
;
TipcMonServerMaxClientLicensesSetWatch start or stop watching for a server to exceed the licensed number of RTclient connections
T_BOOL TipcMonServerMaxClientLicensesSetWatch(server_name
,watch_status
) T_STRserver_name
; T_BOOLwatch_status
;
TipcMonServerNamesGetWatch determine whether this RTclient is watching RTserver names
TipcMonServerNamesSetWatch start or stop watching RTserver names
TipcMonSubjectNamesGetWatch determine whether this RTclient is watching subject names
TipcMonSubjectNamesSetWatch start or stop watching subject names
TipcMonSubjectSubscribeGetWatch determine whether this RTclient is watching the RTclients that are subscribing to a subject
T_BOOL TipcMonSubjectSubscribeGetWatch(subject_name
,watch_status_return
) T_STRsubject_name
; T_BOOL *watch_status_return
;
TipcMonSubjectSubscribeSetWatch start or stop watching the RTclients that are subscribing to a subject
T_BOOL TipcMonSubjectSubscribeSetWatch(subject_name
,watch_status
) T_STRsubject_name
; T_BOOLwatch_status
;
The TipcMonExt* functions are used to delete, define, or update a field in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message. This message is returned to another RTclient that polls for RTclient information by issuing TipcMonClientExtPoll.
TipcMonExtDelete remove a field from an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetBinary add or update a field of type BINARY in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetBool add or update a field of type BOOL in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetBoolArray add or update a field containing an array of type BOOL in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt2 add or update a field of type INT2 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt2Array add or update a field containing an array of type INT2 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt4 add or update a field of type INT4 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt4Array add or update a field containing an array of type INT4 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt8 add or update a field of type INT8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetInt8Array add or update a field containing an array of type INT8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetReal4 add or update a field of type REAL4 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetReal4Array add or update a field containing an array of type REAL4 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
T_BOOL TipcMonExtSetReal4Array(field_name, data, size
) T_STRfield_name
; T_REAL4 *data
; T_INT4size
;
TipcMonExtSetReal8 add or update a field of type REAL8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetReal8Array add or update a field containing an array of type REAL8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
T_BOOL TipcMonExtSetReal8Array(field_name, data, size
) T_STRfield_name
; T_REAL8 *data
; T_INT4size
;
TipcMonExtSetReal16 add or update a field of type REAL16 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetReal16Array add or update a field containing an array of type REAL16 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
T_BOOL TipcMonExtSetReal16Array(field_name, data, size
) T_STRfield_name
; T_REAL16 *data
; T_INT4size
;
TipcMonExtSetStr add or update a field of type STR in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetStArray add or update a field containing an array of type STR in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetUtf8 add or update a field of type UTF8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
TipcMonExtSetUtf8Array add or update a field containing an array of type UTF8 in an RTclient’s MON_CLIENT_EXT_POLL_RESULT message
These functions do not fit with any of the other established categories:
TipcMonGetIdentStr retrieve the monitoring identification string of this process
TipcMonSetIdentStr set the monitoring identification string of this process
TIBCO SmartSockets™ API Quick Reference Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |