IMockupConnection Interface

The IMockupConnection interface is used to simulate an Access Layer API connection without a physical connection to the runtime system. This interface is available for Testing purposes.

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 IMockupConnection : IConnection, 
	IMethodExecuter

The IMockupConnection 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.
(Inherited from IConnection.)
Public propertyIsBusy
Retrives the current busy state of the connection.
(Inherited from IConnection.)
Public propertyIsConnected
Retrieved the current connected state of the connection.
(Inherited from IConnection.)
Public propertyLogger
Returns the Logging object to the client
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
Public propertySessionId
Returns an integer value that contains the session id for the connection.
(Inherited from IConnection.)
Public propertyStatus
Holds the current status information sent by the runtime system
(Inherited from IConnection.)
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
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
Public methodGetDataModelObject
Retrieve a new TransmissionObject containing a DataModel instance of the specified Ispec/Class
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
Public methodProcessColonCommand
The ProcessColonCommand sends a colon command to the Runtime system
(Inherited from IConnection.)
Public methodProcessColonCommandAsync
(Inherited from IConnection.)
Top
Events

  NameDescription
Public eventChangeLocaleRequest
The ChangeLocaleRequest event is triggered when a language change occurs in the runtime system
(Inherited from IConnection.)
Public eventChangeSystemRequest
The ChangeSystemRequest event is triggered when the runtime system performs a Switch to another system.
(Inherited from IConnection.)
Public eventCloseRequest
The CloseRequest event is triggered when the runtime system closes the session with the client
(Inherited from IConnection.)
Public eventConnectionProgressStatus
The ConnectionProgressStatus event is triggered when the state of the connection progress changes.
(Inherited from IConnection.)
Public eventDownLoadComplete
The DownLoadComplete event is triggered when the required assemblies for the client session have been downloaded successfully.
(Inherited from IConnection.)
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.
(Inherited from IConnection.)
Public eventIsBusyChanged
The IsBusyChanged event is triggered when a change occurs in the Busy state for the connecttion.
(Inherited from IConnection.)
Public eventProcessTransactionErrors
The ProcessTransactionErrors event is triggered when the runtime system returns error messages to the client session
(Inherited from IConnection.)
Public eventSetCursorRequest
The SetCursorRequest event is triggered when the runtime system sets the focus to a field in the current DataModel
(Inherited from IConnection.)
Public eventShowTeachRequest
The ShowTeachRequest event is triggered when the runtime system requests the view for a teach class to be displayed
(Inherited from IConnection.)
Public eventStatusChanged
The StatusChanged event is triggered when the status information is updated by the runtime system.
(Inherited from IConnection.)
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
(Inherited from IConnection.)
Top
See Also

Reference