IConnection Properties

The IConnection interface exposes the properties listed in the following table:

Properties

Description

IConnection.DataHandler Property

Gets an object to handle the exchange of data with the runtime system. This object implements the IRtConnection interface, which exposes methods and properties used for handling the data exchanged between the client and the host applications.

IConnection.IsBusy Property

Gets a value indicating whether the connection is busy at the moment.

IConnection.IsConnected Property

Gets a value indicating whether the connection is established.

IConnection.Logger Property

Returns the logger object to the client. The client can then use this object to log information in the same log file as the Access Layer API.

IConnection.MessageHandler Property

Gets an IUnsolicitedMessages instance to handle the unsolicited messages.

IConnection.SessionInfo Property

Returns an integer value that contains the session id of the connection.

IConnection.Status Property

Holds the current status information of the connection sent by the runtime system.