IConnection Methods

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

Methods

Description

IConnection.Close Method

Closes a current connection with the runtime system.

IConnection.Connect Method

Establishes a connection to the runtime system through a synchronous call that blocks the client application calling it.

IConnection.ConnectAsync Method

Establishes a connection to the runtime system through an asynchronous call that does not block the client application calling it. When the connection is established, a specified callback handler is triggered to process the connection result.

IConnection.GetDataModelObject Method

Retrieves a DataModel object for a particular ispec or class.

IConnection.Load Method

Loads an ispec or a class in the runtime system through a synchronous call.

IConnection.LoadAsync Method

Loads an ispec or a class in the runtime system through an asynchronous call.

IConnection.ProcessColonCommand Method

Sends a colon command to the runtime system through a synchronous call.

IConnection.ProcessColonCommandAsync Method

Sends a colon command to the runtime system through an asynchronous call.