semaine::cms::IOBase Class Reference
#include <IOBase.h>
List of all members.
Detailed Description
This class handles the low-level interaction with the JMS provider for the components of the SEMAINE system.
- Author:
- marc
Constructor & Destructor Documentation
IOBase::IOBase |
( |
const std::string & |
topicName |
) |
throw (CMSException) |
Create a new CMS IOBase connection with the given topic on the default JMS server. The default JMS server is determined as follows:
-
jms URL: default value
tcp://localhost:61616
;
-
jms User: default value empty;
-
jms Password: default value empty.
- Parameters:
-
| topicName | the name of the topic to send to. |
- Exceptions:
-
IOBase::~IOBase |
( |
|
) |
[virtual] |
IOBase::IOBase |
( |
const std::string & |
cmsUrl, |
|
|
const std::string & |
cmsUser, |
|
|
const std::string & |
cmsPassword, |
|
|
const std::string & |
topicName | |
|
) |
| | throw (CMSException) |
Create a new CMS IOBase connection with the given topic on the given JMS server.
- Parameters:
-
| cmsUrl | the url where to contact the JMS server |
| cmsUser | the username to use (can be an empty string) |
| cmsPassword | the password to use (can be an empty string) |
| topicName | the name of the topic to send to. |
- Exceptions:
-
Member Function Documentation
std::string semaine::cms::IOBase::getCMSUrl |
( |
|
) |
[inline] |
Get the URL of the JMS server connected to.
- Returns:
- a string containing the url
Connection* semaine::cms::IOBase::getConnection |
( |
|
) |
[inline] |
Session* semaine::cms::IOBase::getSession |
( |
|
) |
[inline] |
Topic* semaine::cms::IOBase::getTopic |
( |
|
) |
[inline] |
std::string IOBase::getTopicName |
( |
|
) |
throw (CMSException) |
Get the name of the topic.
- Returns:
- a string containing the topic name.
- Exceptions:
-
void IOBase::startConnection |
( |
|
) |
throw (CMSException) |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: