Represents a connection to a Gateway daemon.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public class GatewayConnection : IDisposable
Visual Basic
Public Class GatewayConnection _
	Implements IDisposable
Visual C++
public ref class GatewayConnection : IDisposable

Remarks

Instances of GatewayConnection are thread safe and can be used with threads other than the thread that created them. CICS TG version 8.1 added thread safety to GatewayConnection. To create a Secure Sockets Layer (SSL) connection to the Gateway daemon, use SslGatewayConnection.

Transaction tracking can be enabled by setting the properties Applid and ApplidQualifier. This can be done programatically with the GatewayConnection, or by using an application or web configuration file. The constructor GatewayConnection(String, Int32, Int32, String, String) provides the programatical means of setting APPLID and APPLID qualifier. The configuration file values of "CtgApplid" and "CtgApplidQualifier" will override the values passed to the constructor.

The APPLID and APPLID qualifier are part of the origin data associated with running a client application. When transaction tracking is enabled the system administrator is able to track requests from a client application, as they pass through the Gateway daemon, and through the connected CICS servers, to the related tasks that are being processed in CICS. Tracking requests through the Gateway daemon can be done via connectionlogging or request monitoring exits, for more information refer to the product documentation.

Inheritance Hierarchy

System..::..Object
  IBM.CTG..::..GatewayConnection
    IBM.CTG..::..SslGatewayConnection

Thread Safety

Members of this type are thread safe.

See Also