Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::cmw::mom::pubsub::PubSubFactory Class Reference

List of all members.

Static Public Member Functions

Publisher publisher () throws MOMException
Publisher publisher (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws MOMException
Subscriber subscriber () throws MOMException
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

Publisher cern::cmw::mom::pubsub::PubSubFactory::publisher String  username,
String  password,
String  brokerList,
Boolean  loadBalancing,
Boolean  sequential,
Boolean  selectorAtBroker
throws MOMException [inline, 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:
MOMException if the system fails to instantiate the Publisher due to some internal error.

Publisher cern::cmw::mom::pubsub::PubSubFactory::publisher  )  throws MOMException [inline, static]
 

Create a new Publisher instance.

Returns:
the Publisher instance.
Exceptions:
MOMException if the system fails to instantiate the Publisher due to some internal error.

Subscriber cern::cmw::mom::pubsub::PubSubFactory::subscriber String  username,
String  password,
String  brokerList,
Boolean  loadBalancing,
Boolean  sequential,
Boolean  selectorAtBroker
throws MOMException [inline, 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:
MOMException if the system fails to instantiate a Subscriber due to some internal error.

Subscriber cern::cmw::mom::pubsub::PubSubFactory::subscriber  )  throws MOMException [inline, static]
 

Create a new Subscriber instance using default properties.

Returns:
the Subscriber instance.
Exceptions:
MOMException if the system fails to instantiate a Subscriber due to some internal error.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:07:58 2009 for ACS Java API by doxygen 1.3.8