Class Reference
Ens.BusinessDuplex
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [Ens] >  [BusinessDuplex]
Private  Storage

abstract class Ens.BusinessDuplex extends Ens.BusinessService, Ens.BusinessOperation

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 9


Summary

This is a Business Service class.

Properties
%AlertStartTime %ConfigName %ConfigQueueName
%InPrivateSession %LastActionTime %LastHandledTime
%LastReportedError %OutsideCreated %PreserveSession
%PrivateSessionId %ProcessInputCalled %QuitTask
%RequestHeader %SessionId %SuperSession
%SuperSessionCreatedBeforeSession %WaitForNextCallInterval %WarnedLatest
%isShadow Adapter AlertGracePeriod
AlertGroups AlertOnError AlertRetryGracePeriod
ArchiveIO BusinessPartner DeferResponse
EventDevice FailureTimeout GenerateSuperSessionID
IOLogEntry InactivityTimeout NoFailWhileDisconnected
QueueCountAlert QueueWaitAlert ReplyCodeActions
Retry RetryCount RetryInterval
SendSuperSession SuspendMessage ThrottleDelay

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %InPrivateSessionGet %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnClose
%OnNew %OriginalNamespace %PackageName %RemoveFromSaveSet
%SerializeObject %SetModified %SuperSessionSet %ValidateObject
AdapterName AssignOneSetting CloseIOLogEntry DeferResponse
EnumerateSettingsClose EnumerateSettingsExecute EnumerateSettingsFetch ForceSessionId
GenerateSuperSession GetDeferredResponseToken GetMessageList GetMsgHdrRequestKey
GetProductionSettingValue GetProductionSettings GetPropertyConnections GetSettings
GetShadowInstance IncludeSuperSession NewIOLogEntry OnBusinessType
OnError OnFailureTimeout OnGenerateSuperSession OnGetConnections
OnGetReplyAction OnInit OnKeepalive OnMessage
OnMonitor OnProcessInput OnProductionStart OnProductionStop
OnTask OnTearDown PopulateSuperSession QueueName
RegisterPrivateSession SaveIOLogEntry SendAlert SendDeferredResponse
SendRequestAsync SendRequestSync SetEventDevice SetTimer
UnRegisterPrivateSession

Subclasses
Ens.BusinessOperationDuplex Ens.BusinessServiceDuplex EnsLib.PrivateSession.Duplex

Properties

• property %InPrivateSession as %Boolean [ Calculated ];
A flag indicates if the private session has been established
• property %PrivateSessionId as %Integer;
The sessionId if the private session has been established
• property EventDevice as %String;

Methods

• method %InPrivateSessionGet() as %Boolean
This is a Get accessor method for the %InPrivateSession property.
• classmethod OnBusinessType(pItem As Ens.Config.Item) as %Integer
• method OnTask() as %Status
Event loop for Actor and BusinessOperation. This is called only when INVOCATION is Queue.
• method QueueName() as %String
• method RegisterPrivateSession() as %Status
• method SendRequestAsync(pTargetDispatchName As %String, pRequest As %Library.Persistent, pDescription As %String = "", pResponseRequired As %Boolean = 0) as %Status
Use this method to dispatch a business invocation asynchronously
• method SetEventDevice(pDevice="") as %Status
• method SetTimer(pTimeout As %String, Output pAlarmHandle As %String, pDescription As %String = "") as %Status
• method UnRegisterPrivateSession() as %Status


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.