Collapse All Expand All

.NET Framework Class Library
ConnectionFactory Class See Also

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

Set the connection factory's parameters for connecting through an SSL proxy.

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

# Syntax

    public void SetSSLProxy(
    	string host,
    	int port
    )

    Public Sub SetSSLProxy ( _
    	host As String, _
    	port As Integer _
    )

    public:
    void SetSSLProxy(
    	String^ host,
    	int port
    )

#### Parameters

host
  Type: System..::.String
  The connection factory establishes SSL communication through a web proxy at this host. Supply a simple hostname, a fully qualified hostname with domain name, or an IP address (dot notation).

port
  Type: System..::.Int32
  The connection factory establishes SSL communication through a web proxy on this port.

# Remarks

An SSL proxy lets an EMS application create an SSL connection to an EMS server, even though a firewall separates the application from the server. The proxy usually runs within the firewall's DMZ. A connection factory contacts the SSL proxy, requesting an SSL connection to the server. The proxy authenticates the application program, and mediates the initial SSL negotiation between application and server. After the SSL connection is established, the application and server use it to communicate directly with one another.

# Exceptions

Exception | Condition
--- | ---
EMSException | if the proxy host is null or empty, the port is zero or the protocol of the connection factory's URL is not SSL.

# See Also

ConnectionFactory Class
TIBCO.EMS.UFO Namespace