Creates a new SSL connection pool with the specified connection pool and SSL properties.
Namespace: IBM.CTG
Assembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
public SslGatewayConnectionPool( string hostName, int port, ConnectionPoolProperties poolProperties, SslProperties sslProperties )
Parameters
- hostName
- Type: SystemString
The host name of the Gateway daemon to connect to. - port
- Type: SystemInt32
The port that the Gateway daemon is accepting TCP/IP requests on. - poolProperties
- Type: IBM.CTGConnectionPoolProperties
Properties for the connection pool. - sslProperties
- Type: IBM.CTGSslProperties
Properties for the SSL connections in the pool.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | hostName is . |
| ArgumentOutOfRangeException | The port number is not valid. -or- One of the properties in poolProperties is not valid. |
| ClientConfigurationException | The value of CtgApplid or CtgApplidQualifier specified in the application configuration file is longer than 8 characters. |
| SocketException | The host name did not resolve to a valid IP address. -or- Failed to establish the minimum number of connections with the Gateway daemon. -or- A connection to the Gateway daemon has been lost. |
| AuthenticationException | Authentication failed during a connection attempt. |
| SecurityException | A caller higher in the call stack does not have permission for the requested operation. |
| GatewayException | An error occurred within the Gateway daemon. |
See Also