Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Subscribing to and Receiving Events | Getting Events using the poll Method | Key Methods used in the Polling Model
 
Key Methods used in the Polling Model
The following table summarizes the primary methods and constructors associated with the polling model. For a complete list, see BrokerClientPoll.
Method/Constructor
Description
BrokerClientPoll
The constructor that generates a BrokerClientPoll object for a specified Broker client.
BrokerClient.poll
Polls the Broker for events in queues belonging to a specified set of Broker clients, and returns the BrokerClientPoll object for each client that has one or more events in its queue.
BrokerClientPoll.getBrokerClient
Returns the BrokerClient associated with a BrokerClientPoll object.