Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetDescriptorAutomaticReconnect
 
awGetDescriptorAutomaticReconnect
BrokerError awGetDescriptorAutomaticReconnect(
BrokerConnectionDescriptor desc,
BrokerBoolean *reconnect);
desc
The Broker descriptor. This parameter is used for output.
reconnect
Indicates whether or not the automatic reconnect behavior is to be enabled for this descriptor. This parameter is used for output.
Returns 1 (true) if the automatic reconnection feature for this descriptor is enabled. Otherwise, 0 (false) is returned.
Note:
You can disable the automatic reconnection feature by explicitly invoking awDisconnectClient or awDestroyClient.
If automatic reconnection is enabled, the Broker client associated with this descriptor will be automatically reconnected if the connection to the Broker is lost. See Automatic Reconnection for a complete discussion of the automatic reconnect feature.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_DESCRIPTOR
The desc parameter is invalid.
AW_ERROR_NULL_PARAM
The reconnect parameter is NULL.
See also: