awGetClientStateShareLimit
BrokerError awGetClientStateShareLimit(
BrokerClient client,
int *limit);
client | 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 client's state. The 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 client has been destroyed or disconnected. |
AW_ERROR_NULL_PARAM | The parameter limit is NULL. |
See also: