IRtConnection Methods

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

Methods

Description

IRtConnection.BeginInvokeAction Method

Allows the client to execute an Action method that is processed on the UI thread.

IRtConnection.GetDataModelObject Method

Returns a DataModel object based on a specified class name.

IRtConnection.GetDataModelType Method

Returns the type of the DataModel based on a specified ispec or class.

IRtConnection.GetList Method (String, String)

Returns a collection of types defined by the class name.

IRtConnection.GetListAsync Method (String, String)

Returns a collection of types defined by the class name.

IRtConnection.GetList Method (String, String [])

Returns a collection of list items for a specified list name containing all columns in the list as individual properties of the ListItem class.

IRtConnection.GetList Method (String, String, Int32, Int32)

Returns a collection of list items for a specified list name, list format, display column index, and host column index.

IRtConnection.GetList<T> Method (String)

Returns a list of T elements for a specified list name and type.

IRtConnection.GetListAsync<T> Method (String)

Returns a list of T elements for a specified list name and type.

IRtConnection.GetList<T> Method (String, IFromStringConverter)

Gets a list of primitives and allows you to specify a converter to convert the strings in the list to their primitive types.

IRtConnection.GetListAsync<T> Method (String, IFromStringConverter)

Gets a list of primitives and allows you to specify a converter to convert the strings in the list to their primitive types.

IRtConnection.Load Method

Loads a specified ispec or class in the runtime system for a session through a synchronous call. As this a synchronous call, the calling process is blocked until the method completes.

IRtConnection.LoadAsync Method

Loads a specified ispec or class in the runtime system for a session through an asynchronous call. As this is an asynchronous call, the calling process is not blocked. An event handler receives a new TransmissionObject when the method completes.

IRtConnection.Transmit Method

Sends data in the specified DataModel to the runtime system through a synchronous call and waits for a reply. As this is a synchronous call, it blocks the calling process.

IRtConnection.TransmitAsync Method

Sends the data in the specified DataModel to the runtime system through an asynchronous call. It does not wait for a reply and thus does not block the calling process. The result of the transaction is handled by a specified callback handler method.