The client group to which the
BrokerClient object belongs might limit the event types to which the client can subscribe. See
Client Groups for more information. The example below contains an excerpt from a sample application that shows the use of the
BrokerClient.canSubscribe method to check for event subscription permission. This method requires a single parameter; an event type name.