Home > Class Reference > %SYS namespace > %Net.DB.Connection
Private  Storage   

%Net.DB.Connection


class %Net.DB.Connection extends %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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
19 8


Summary


Properties
Host Namespace Port Timeout

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Close CreateIris IsClosed


Properties


• property Host as %String;
• property Namespace as %String;
• property Port as %Integer;
• property Timeout as %Integer [ InitialExpression = 5 ];

Methods


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