Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awSet | awSetDescriptorKeepAlive
 
awSetDescriptorKeepAlive
BrokerError awSetDescriptorKeepAlive(
BrokerConnectionDescriptor desc,
int KeepAliveSendPeriod,
int MaxKeepAliveResponseTime,
int RetryCount);
desc
The Broker descriptor for which keep-alive is to be set.
KeepAliveSendPeriod
Specifies the length of time (in seconds) the Broker should wait before issuing the keep-alive messages on an idle connection.
MaxKeepAliveResponseTime
Specifies the length of time (in seconds) the Broker should wait for a reply from an idle connection.
RetryCount
Specifies how many times to send the keep-alive messages before disconnecting the unresponsive client.
Sets the keep-alive settings for the specified descriptor.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_DESCRIPTOR
The desc is invalid.
See also: