IConnection Interface

The IConnection interface is used to establish a session and manage a connection to the runtime system.

Namespace:  ABSuite.AccessLayer.Connector.Core
Assembly:  Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public interface IConnection : IMethodExecuter

The IConnection type exposes the following members.

Properties

  NameDescription
Public propertyDataHandler
The DataHandler retrieves an object for handling the data being exchanged with the runtime system. See the IRtConnection interface reference for details on its supported methods and properties.
Public propertyIsBusy
Retrives the current busy state of the connection.
Public propertyIsConnected
Retrieved the current connected state of the connection.
Public propertyLogger
Returns the Logging object to the client
Public propertyMessagesHandler
The MessagesHandler retrieves an object for handling unsolicited messages from the runtime system. See the IUnsolicitedMessages interface reference for details on its supported methods and properties.
Public propertySessionId
Returns an integer value that contains the session id for the connection.
Public propertyStatus
Holds the current status information sent by the runtime system
Top
Methods

  NameDescription
Public methodCall
The Call method is used to execute a specified Public Method defined in the AB Suite system
(Inherited from IMethodExecuter.)
Public methodCallAsync
(Inherited from IMethodExecuter.)
Public methodClose
The Close method will close the current connection to the Runtime system
Public methodConnect
Connect Method establishes a connection with the Runtime System. This method is a synchronous call which will block the client application calling it. Use the ConnectAsync() method if you do not want a blocking call.
Public methodConnectAsync
ConnectAsync Method establishes a connection with the Runtime System. This method is an asynchronous call which will not block the client application that is calling it. When the ConnectAsync method completes, it will execute the callback passed for the "complete" parameter. Use the Connect() method if you require a blocking call.
Public methodGetDataModelObject
Retrieve a new TransmissionObject containing a DataModel instance of the specified Ispec/Class
Public methodLoad
Loads a specified ispec/class in the runtime system for this session. This is a synchronous call. The calling process will be blocked until the method completes.
Public methodLoadAsync
Loads a specified ispec/class in the runtime system for this session. This is an asynchronous call. The calling process will not block. An event handler for the complete event will receive the new TransmissionObject when the call completes.
Public methodProcessColonCommand
The ProcessColonCommand sends a colon command to the Runtime system
Public methodProcessColonCommandAsync
Top
Events

  NameDescription
Public eventChangeLocaleRequest
The ChangeLocaleRequest event is triggered when a language change occurs in the runtime system
Public eventChangeSystemRequest
The ChangeSystemRequest event is triggered when the runtime system performs a Switch to another system.
Public eventCloseRequest
The CloseRequest event is triggered when the runtime system closes the session with the client
Public eventConnectionProgressStatus
The ConnectionProgressStatus event is triggered when the state of the connection progress changes.
Public eventDownLoadComplete
The DownLoadComplete event is triggered when the required assemblies for the client session have been downloaded successfully.
Public eventDuplicateLoginRequest
The DuplicateLoginRequest event is triggered when the runtime system detects that the user requesting a session has already been logged into the system.
Public eventIsBusyChanged
The IsBusyChanged event is triggered when a change occurs in the Busy state for the connecttion.
Public eventProcessTransactionErrors
The ProcessTransactionErrors event is triggered when the runtime system returns error messages to the client session
Public eventSetCursorRequest
The SetCursorRequest event is triggered when the runtime system sets the focus to a field in the current DataModel
Public eventShowTeachRequest
The ShowTeachRequest event is triggered when the runtime system requests the view for a teach class to be displayed
Public eventStatusChanged
The StatusChanged event is triggered when the status information is updated by the runtime system.
Public eventTransmissionObjectChanged
The TransmissionObjectChanged event is triggered when the response from the runtime system requires a different DataModel to be used, instead of the current DataModel
Top
See Also

Reference