TipcMonClientInfoPoll


Name

TipcMonClientInfoPoll — poll for RTclient information

Synopsis

T_BOOL TipcMonClientInfoPoll(client_name) 
T_STR client_name; 

Arguments

client_name — name of RTclient to poll (wildcard names allowed, or use T_IPC_MON_ALL to indicate a poll of all RTclients matching the value of Monitor_Scope)

Return Values

TRUE if the poll was successfully initiated, FALSE otherwise.

Diagnostics

If TipcMonClientInfoPoll fails, it returns FALSE and sets the global SmartSockets error number to:

Description

TipcMonClientInfoPoll polls for RTclient information by sending a MON_CLIENT_INFO_POLL_CALL message to the RTserver. The client_name argument can be the unique subject name of a single RTclient, a wildcarded subject name to match many RTclients, or T_IPC_MON_ALL to poll all RTclients in the project that match the value of the Monitor_Scope option. The RTserver responds by sending back a MON_CLIENT_INFO_POLL_RESULT message. The response may or may not come back quickly, depending on what the polled RTclient is doing.

Each MON_CLIENT_INFO_POLL_RESULT message contains 15 fields:

There are multiple responses only if client_name is a wildcard or T_IPC_MON_ALL.

If the RTclient cannot query the operating system, the value reported in the CPU percentage used field is a negative number.

Caution

There is no response message if the RTclient named client_name does not exist; the poll is silently dropped.

TipcMonClientInfoPoll sends a MON_CLIENT_INFO_POLL_CALL message to RTserver, but does not explicitly flush the message. See TipcSrvGetAutoFlushSize for more information on message buffering.

RTclient information can only be polled, not watched.

See Also

TipcMonClientGeneralPoll

Examples

This example uses TipcMonClientInfoPoll to:


TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com