Represents a pool of connections to a Gateway daemon.
Inheritance Hierarchy
IBM.CTGGatewayConnectionPool
IBM.CTGSslGatewayConnectionPool
Namespace: IBM.CTG
Assembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
The GatewayConnectionPool type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GatewayConnectionPool(String, Int32) | Creates a new connection pool with default connection pool properties. | |
| GatewayConnectionPool(String, Int32, ConnectionPoolProperties) | Creates a new connection pool with the specified connection pool properties. |
Properties
| Name | Description | |
|---|---|---|
| AgedTimeout | Gets the maximum time that connections can remain open in the connection pool. | |
| Applid | Gets the client APPLID used for transaction tracking by connections in this pool. | |
| ApplidQualifier | Gets the client APPLID qualifier used for transaction tracking by connections in this pool. | |
| AvailableCount | Gets the number of connections in this connection pool that are available to be acquired. | |
| ConnectionCount | Gets the total number of connections in this connection pool. | |
| HostName |
Gets the host name of the Gateway daemon that connections in this pool are connected to.
| |
| IdleTimeout | Gets the maximum time that connections can remain idle in the connection pool. | |
| MaxConnections | Gets the maximum number of connections in this connection pool. | |
| MinConnections | Gets the minimum number of connections in this connection pool. | |
| Port | Gets the remote TCP/IP port that connections in this pool are connected to. |
Methods
| Name | Description | |
|---|---|---|
| Close | Closes all connections in this connection pool. | |
| Close(Int32) | Closes all connections in this connection pool, optionally waiting for allocated connections to be returned to the pool. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetConnection | Acquires a connection from the connection pool. | |
| GetConnection(Int32) | Acquires a connection from the connection pool, with a specified timeout period. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
Thread Safety
See Also