TIBCO EMS .NET API 8.5
TIBCO EMS .NET API 8.5
TIBCO.EMS.UFO.TopicConnectionFactory Class Reference

Backward compatibility. Administered object for creating topic connections. More...

Inheritance diagram for TIBCO.EMS.UFO.TopicConnectionFactory:
TIBCO.EMS.UFO.ConnectionFactory

Public Member Functions

 TopicConnectionFactory ()
 Construct an empty TopicConnectionFactory More...
 
 TopicConnectionFactory (string serverUrls)
 Construct an TopicConnectionFactory given the server url More...
 
 TopicConnectionFactory (string serverUrls, string clientId)
 Construct an TopicConnectionFactory given the server url and client id. More...
 
 TopicConnectionFactory (string serverUrls, string clientId, Hashtable properties)
 Construct an TopicConnectionFactory given the server url, client id and properties More...
 
 TopicConnectionFactory (TIBCO.EMS.TopicConnectionFactory factory)
 Constructs a TIBCO.EMS.UFO TopicConnectionFactory object with the given TIBCO.EMS.TopicConnectionFactory object. More...
 
override Object Clone ()
 Implementation of ICloneable. Overrides the cloning process. More...
 
TopicConnection CreateTopicConnection ()
 Create a topic connection object. More...
 
TopicConnection CreateTopicConnection (string userName, string password)
 Create a topic connection object for a specific user. More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.ConnectionFactory
 ConnectionFactory ()
 Construct an empty ConnectionFactory More...
 
 ConnectionFactory (string serverUrls)
 Construct a ConnectionFactory given server url More...
 
 ConnectionFactory (string serverUrls, string clientId)
 Construct a ConnectionFactory given the server url, and client id More...
 
 ConnectionFactory (string serverUrls, string clientId, Hashtable properties)
 Construct a ConnectionFactory given server url, client id and properties More...
 
 ConnectionFactory (TIBCO.EMS.ConnectionFactory factory)
 Constructs a TIBCO.EMS.UFO ConnectionFactory object with the given TIBCO.EMS.ConnectionFactory object. More...
 
override Object Clone ()
 Overrides the cloning process More...
 
void SetServerUrl (String serverUrl)
 set the server url. More...
 
void SetClientID (String clientID)
 Set the client id More...
 
void SetMetric (int metric)
 Set the load balance metric. More...
 
void SetConnAttemptCount (int attempts)
 Set the number of connection attempts. More...
 
void SetConnAttemptDelay (int delay)
 Set the delay between connection attempts. More...
 
void SetReconnAttemptCount (int attempts)
 Set the number of reconnect attempts. More...
 
void SetReconnAttemptDelay (int delay)
 Set the delay between reconnect attempts. More...
 
void SetUserName (String username)
 Set the user name. More...
 
void SetUserPassword (String password)
 Set the user password. More...
 
void SetSSLTrace (Boolean trace)
 Enable or disable tracing on the client side. More...
 
void SetSSLAuthOnly (Boolean authOnly)
 Enable or disable encryption/decryption of the message data over the SSL connection. More...
 
void SetSSLProxy (string host, int port)
 Set the connection factory's parameters for connecting through an SSL proxy. More...
 
void SetSSLProxyAuth (string username, string password)
 Set a connection factory's username and password for connecting through an SSL proxy. More...
 
String GetSSLProxyHost ()
 Get the SSL proxy host from this connection factory. More...
 
int GetSSLProxyPort ()
 Get the SSL proxy port from this connection factory. More...
 
String GetSSLProxyUser ()
 Get the SSL proxy username from a connection factory. More...
 
String GetSSLProxyPassword ()
 Get the SSL proxy password from a connection factory. More...
 
void SetConnAttemptTimeout (int timeout)
 Set the Connect Attempt timeout for a given connection. More...
 
void SetReconnAttemptTimeout (int timeout)
 Set the Reconnect Attempt timeout for a given connection. More...
 
void SetMulticastEnabled (bool enabled)
 Set whether MessageConsumers subscribed to a multicast-enabled topic will receive messages over multicast. More...
 
void SetMulticastDaemon (String port)
 Set the port on which the client will connect to the multicast daemon. More...
 
Connection CreateConnection ()
 Create a connection More...
 
Connection CreateConnection (string userName, string password)
 Create a connection object with the given user name and password. More...
 
object GetCertificateStore ()
 Get the certificate store info object associated with this connection factory. More...
 
void SetCertificateStoreType (TIBCO.EMS.EMSSSLStoreType type, Object storeInfo)
 Set the certificate store type and info. More...
 
void SetHostNameVerifier (EMSSSLHostNameVerifier verifier)
 Set the custom host name verifier. Set to null to remove custom host name verifier. More...
 
void SetClientTracer (System.IO.StreamWriter tracer)
 Set client tracer to given output stream. More...
 
void SetTargetHostName (String targetHostName)
 Set the name of the target EMS server. More...
 
void SetBlockingOnRecovery (bool blocking)
 Enable or Disable blocking on JMS API call when the connection is diconnected or in recovery. More...
 
override string ToString ()
 Returns a string representation of this ConnectionFactory object. More...
 

Detailed Description

Backward compatibility. Administered object for creating topic connections.

Note: This class is provided for backward compatibility to support older EMS clients programs. New clients should use the ConnectionFactory class instead.

A client uses a TopicConnectionFactory object to create TopicConnection objects with the EMS Server.

This class is provided only to support older clients. New clients should use the ConnectionFactory object.

Constructor & Destructor Documentation

TIBCO.EMS.UFO.TopicConnectionFactory.TopicConnectionFactory ( )
inline

Construct an empty TopicConnectionFactory

TIBCO.EMS.UFO.TopicConnectionFactory.TopicConnectionFactory ( string  serverUrls)
inline

Construct an TopicConnectionFactory given the server url

Reconnect and Fault Tolerance

To enable reconnection behavior and fault tolerance, the connection factory's server URL parameter must be a comma-separated list of two or more URLs. To enable client reconnection in a situation with only one server, you may supply two copies of that server's URL (for example, tcp://localhost:7222,tcp://localhost:7222)

Parameters
serverUrlsThe url to the server
TIBCO.EMS.UFO.TopicConnectionFactory.TopicConnectionFactory ( string  serverUrls,
string  clientId 
)
inline

Construct an TopicConnectionFactory given the server url and client id.

Reconnect and Fault Tolerance

To enable reconnection behavior and fault tolerance, the connection factory's server URL parameter must be a comma-separated list of two or more URLs. To enable client reconnection in a situation with only one server, you may supply two copies of that server's URL (for example, tcp://localhost:7222,tcp://localhost:7222)

Parameters
serverUrlsThe url to the server
clientIdThe id to the client
TIBCO.EMS.UFO.TopicConnectionFactory.TopicConnectionFactory ( string  serverUrls,
string  clientId,
Hashtable  properties 
)
inline

Construct an TopicConnectionFactory given the server url, client id and properties

Reconnect and Fault Tolerance

To enable reconnection behavior and fault tolerance, the connection factory's server URL parameter must be a comma-separated list of two or more URLs. To enable client reconnection in a situation with only one server, you may supply two copies of that server's URL (for example, tcp://localhost:7222,tcp://localhost:7222)

Parameters
serverUrlsThe url to the server
clientIdThe id to the client
propertiesThe properties for creating connection such as username and password
TIBCO.EMS.UFO.TopicConnectionFactory.TopicConnectionFactory ( TIBCO.EMS.TopicConnectionFactory  factory)
inline

Constructs a TIBCO.EMS.UFO TopicConnectionFactory object with the given TIBCO.EMS.TopicConnectionFactory object.

Parameters
factoryobject of TIBCO.EMS.TopicConnectionFactory

Member Function Documentation

override Object TIBCO.EMS.UFO.TopicConnectionFactory.Clone ( )
inline

Implementation of ICloneable. Overrides the cloning process.

Returns
A object that is a clone of this TopicConnectionFactory instance.
TopicConnection TIBCO.EMS.UFO.TopicConnectionFactory.CreateTopicConnection ( )
inline

Create a topic connection object.

The connection object presents a default user identity. If the server configuration permits that user, then the call succeeds.

Returns
The newly created TopicConnection.
TopicConnection TIBCO.EMS.UFO.TopicConnectionFactory.CreateTopicConnection ( string  userName,
string  password 
)
inline

Create a topic connection object for a specific user.

Parameters
userNameThe username to use to create connection.
passwordAuthenticate the user identity with this password.
Returns
The newly created TopicConnection.

Copyright © Cloud Software Group, Inc. All rights reserved.