awGetTxClientStateShareLimit
BrokerError awGetTxClientStateShareLimit(
BrokerTxClient txclient,
int *limit);
txclient | The Broker client whose state share limit is to be returned. |
limit | The maximum number of clients that may share this Broker client's state. This parameter is used for output. |
Provides the maximum number of Broker clients that can share txclient's state. The transactional client state includes the Broker client's event queue and list of subscribed events. If the limit returned is -1, this indicates there is no limit to the number of Broker clients that can share this state.
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_CLIENT | The txclient has been destroyed or disconnected. |
AW_ERROR_NULL_PARAM | The parameter limit is NULL. |
See also: