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

persistent class EnsLib.PrivateSession.Process extends Ens.BusinessProcess

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 11


Summary

This is a Business Process class.

RequestResponse
%Library.Persistent Ens.Response

Properties
%ConfigName %ConfigQueueName %CurrentResponseHeader %IsCompleted
%IsInPrivateSession %IsTerminated %IsTimerInterrupted %LastActionTime
%LastHandledTime %LastReportedError %MasterPendingResponses %MasterPendingResponsesOld
%MessagesReceived %MessagesReceivedOld %MessagesSent %MessagesSentOld
%PrimaryRequestHeader %PrimaryResponseHeader %QuitTask %RepliedStatus
%SessionId %StatusCode %SuperSession %TimeCompleted
%TimeCreated %WarnedLatest %isShadow %request
%response %responseClassName %responseId Adapter
AlertGroups AlertOnError AlertRetryGracePeriod BusinessPartner
FailureTimeout InactivityTimeout QueueCountAlert QueueWaitAlert
ReplyCodeActions Retry RetryInterval ServiceDuplexName
SuspendMessage ThrottleDelay

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnClose
%OnDetermineClass %OnNew %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SuperSessionSet
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject AdapterName AssignOneSetting
ClearAllPendingResponses DeferResponse EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch GenerateSuperSession GetDeferredResponseToken GetProductionSettingValue
GetProductionSettings GetPropertyConnections GetSettings GetShadowInstance
IsInPrivateSession IsInPrivateSessionSet IsResponsePending OnComplete
OnDocument OnError OnFailureTimeout OnGenerateSuperSession
OnGetConnections OnGetReplyAction OnInit OnKeepalive
OnMonitor OnPrivateSessionStarted OnPrivateSessionStopped OnProductionStart
OnProductionStop OnRequest OnResponse OnTearDown
OnTimeout QueueName RemovePendingResponse Reply
ReplyError SendAlert SendDeferredResponse SendRequestAsync
SendRequestSync SetTimer StartPrivateSession StopAllPrivateSessions
StopPrivateSession UnRegisterPrivateSession


Parameters

• parameter DOMAIN = "EnsDICOM";
Domain for Text localization

Properties

• property %IsInPrivateSession as array of %Boolean(STORAGEDEFAULT="list");
Indicates if a given ConfigItem is in private session or not
• property ServiceDuplexName as %String;
The Duplex Service name. This property is set at runtime after receiving the primary request

Methods

• method IsInPrivateSession(pDuplexConfigName As %String) as %Boolean
• method IsInPrivateSessionSet(pDuplexConfigName As %String, pInPrivateSession As %Boolean)
IsInPrivateSession
• method OnDocument(pSourceConfigName As %String, pInput As %Library.Persistent) as %Status
• method OnPrivateSessionStarted(pSourceConfigName As %String, pSelfGenerated As %Boolean) as %Status
• method OnPrivateSessionStopped(pSourceConfigName As %String, pSelfGenerated As %Boolean, pAttachedMessage As %Persistent = "") as %Status
• method OnRequest(pRequest As %Library.Persistent, Output pResponse As Ens.Response) as %Status
This method is always called asynchronously ONCE at the beginning of the process
• method OnResponse(request As %Library.Persistent, ByRef response As %Library.Persistent, callrequest As %Library.Persistent, callresponse As %Library.Persistent, pCompletionKey As %String) as %Status
Handle a 'Response'
• method StartPrivateSession(pDuplexConfigName As %String = "") as %Status
• method StopAllPrivateSessions(pAttachedMessage As %Persistent = "") as %Status
• method StopPrivateSession(pDuplexConfigName As %String = "", pAttachedMessage As %Persistent = "") as %Status
• method UnRegisterPrivateSession(pDuplexConfigName As %String) as %String


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