Learning
Documentation
Community
Open Exchange
Global Masters
Home > Class Reference > ENSLIB namespace > Ens.BusinessDuplex
Private  Storage   

Ens.BusinessDuplex


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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 9


Summary


This is an Ensemble 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 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 an Ensemble 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