List of all members.
Static Public Member Functions |
static Publisher | publisher () throws MOMException |
static Publisher | publisher (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws MOMException |
static Subscriber | subscriber () throws MOMException |
static Subscriber | subscriber (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws MOMException |
Detailed Description
Public class. Factory class for creating Publisher or Subscriber instances.
- Version:
- 1.0 23 Jan 2001
- Author:
- Controls Middleware Project
- See also:
- Subscriber
-
Publisher
Member Function Documentation
static Publisher cern.cmw.mom.pubsub.PubSubFactory.publisher |
( |
String |
username, |
|
|
String |
password, |
|
|
String |
brokerList, |
|
|
Boolean |
loadBalancing, |
|
|
Boolean |
sequential, |
|
|
Boolean |
selectorAtBroker | |
|
) |
| | throws MOMException [static] |
Create a new Publisher instance using default properties.
- Parameters:
-
| username | the user name. This may be null. |
| password | the password. This may be null. |
| brokerList | the coma separated broker URLs list (in the form [protocol://]hostname[:port]). This may be null. |
| loadBalancing | if true, indicates that the client is willing to have a connect request re-directed to another broker within the broker list. This may be null. |
| sequential | if true, the broker list will be scanned sequentially. This may be null. |
| selectorAtBroker | if true, selectors will be evaluated on the broker side. This may be null. |
- Returns:
- the Publisher instance.
- Exceptions:
-
Create a new Subscriber instance using default properties.
- Returns:
- the Subscriber instance.
- Exceptions:
-
static Subscriber cern.cmw.mom.pubsub.PubSubFactory.subscriber |
( |
String |
username, |
|
|
String |
password, |
|
|
String |
brokerList, |
|
|
Boolean |
loadBalancing, |
|
|
Boolean |
sequential, |
|
|
Boolean |
selectorAtBroker | |
|
) |
| | throws MOMException [static] |
Create a new Subscriber instance.
- Parameters:
-
| username | the user name. This may be null. |
| password | the password. This may be null. |
| brokerList | the coma separated broker URLs list (in the form [protocol://]hostname[:port]). This may be null. |
| loadBalancing | if true, indicates that the client is willing to have a connect request re-directed to another broker within a cluster. This may be null. |
| sequential | if true, the broker list will be scanned sequentially. This may be null. |
| selectorAtBroker | if true, selectors will be evaluated on the broker side. This may be null. |
- Returns:
- the Subscriber instance.
- Exceptions:
-
The documentation for this class was generated from the following file: