#include <ConnectionFactory.h>
Public Member Functions | |
virtual | ~ConnectionFactory (void) |
virtual Connection * | createConnection (void)=0 throw ( CMSException ) |
virtual Connection * | createConnection (const std::string &username, const std::string &password, const std::string &clientId)=0 throw ( CMSException ) |
|
|
|
Creates a connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.
|
|
Creates a connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.
|