Collapse All Expand All

.NET Framework Class Library
ConnectionFactory Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Construct a ConnectionFactory given server url

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    public ConnectionFactory(
    	string serverUrls
    )

    Public Sub New ( _
    	serverUrls As String _
    )

    public:
    ConnectionFactory(
    	String^ serverUrls
    )

#### Parameters

serverUrls
  Type: System..::.String
  The constructor contacts the EMS server at this URLs, to access a factory. If connecting a fault-tolerant client, specify two or more comma-separated URLs, as described below inReconnect and Fault Tolerance.

# Remarks

When administrators define factories in the EMS server, these constructors automatically access the corresponding objects in the repository.

Reconnect and Fault Tolerance

To enable reconnection behavior and fault tolerance, the connection factorys 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 servers URL (for example, tcp://localhost:7222,tcp://localhost:7222)

# See Also

ConnectionFactory Class
ConnectionFactory Overload
TIBCO.EMS.UFO Namespace