Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [BusinessDuplex]
Private  Storage   

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


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 9


This is a Business Service class.

%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

%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 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

Ens.BusinessOperationDuplex Ens.BusinessServiceDuplex EnsLib.PrivateSession.Duplex


• 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;


• 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) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.