Skip to main content

%Net.DB.Connection

class %Net.DB.Connection extends %Library.RegisteredObject

This class implements the IRIS Native API for Object Script Connection interface. This class should never be instantiated directly, only through %Net.DB.DataSource using the CreateMethod() function.

The public interface for this class includes only those items specified here. All other members are internal.

Host property The host specified when establishing the connection
Port property The port that this connection is connected.
Namespace property The namespace that this connection is connected.
Timeout property The timeout value specified establishing the connection
IsClosed() method Returns true if this connection instance is no longer connected.
Close() method Close this connection.
CreateIris() method Returns an instance of %Net.DB.Iris.

Property Inventory

Method Inventory

Properties

property Host as %String;
Property methods: HostDisplayToLogical(), HostGet(), HostIsValid(), HostLogicalToDisplay(), HostLogicalToOdbc(), HostNormalize(), HostSet()
property Namespace as %String;
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property Port as %Integer;
Property methods: PortDisplayToLogical(), PortGet(), PortIsValid(), PortLogicalToDisplay(), PortNormalize(), PortSet()
property Timeout as %Integer [ InitialExpression = 5 ];
Property methods: TimeoutDisplayToLogical(), TimeoutGet(), TimeoutIsValid(), TimeoutLogicalToDisplay(), TimeoutNormalize(), TimeoutSet()

Methods

method Close() as %Boolean
method CreateIris()
method IsClosed() as %Boolean

Inherited Members

Inherited Methods

FeedbackOpens in a new tab