Skip to main content

EnsLib.PrivateSession.Process

persistent class EnsLib.PrivateSession.Process extends Ens.BusinessProcess

SQL Table Name: EnsLib_PrivateSession.Process

Property Inventory

Method Inventory

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 methods: %IsInPrivateSessionBuildValueArray(), %IsInPrivateSessionCollectionToDisplay(), %IsInPrivateSessionCollectionToOdbc(), %IsInPrivateSessionDisplayToCollection(), %IsInPrivateSessionDisplayToLogical(), %IsInPrivateSessionGet(), %IsInPrivateSessionGetObject(), %IsInPrivateSessionGetObjectId(), %IsInPrivateSessionGetStored(), %IsInPrivateSessionGetSwizzled(), %IsInPrivateSessionIsValid(), %IsInPrivateSessionLogicalToDisplay(), %IsInPrivateSessionNormalize(), %IsInPrivateSessionOdbcToCollection(), %IsInPrivateSessionSet(), %IsInPrivateSessionSetObject(), %IsInPrivateSessionSetObjectId()
property ServiceDuplexName as %String;
The Duplex Service name. This property is set at runtime after receiving the primary request
Property methods: ServiceDuplexNameDisplayToLogical(), ServiceDuplexNameGet(), ServiceDuplexNameGetStored(), ServiceDuplexNameIsValid(), ServiceDuplexNameLogicalToDisplay(), ServiceDuplexNameLogicalToOdbc(), ServiceDuplexNameNormalize(), ServiceDuplexNameSet()

Methods

method IsInPrivateSession(pDuplexConfigName As %String) as %Boolean
method IsInPrivateSessionSet(pDuplexConfigName As %String, pInPrivateSession As %Boolean)
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

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"received",n)
=
%MessagesReceived(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID,"sent",n)
=
%MessagesSent(n)

Storage Model: Storage (Ens.BusinessProcess)

^Ens.BusinessProcessD(ID)
=
%%CLASSNAME
%ConfigQueueName
%IsCompleted
%MasterPendingResponsesOld
%PrimaryRequestHeader
%PrimaryResponseHeader
%RepliedStatus
%responseId
Adapter
%SessionId
%TimeCompleted
%TimeCreated
%ConfigName
%QuitTask
AlertOnError
%responseClassName
%IsTimerInterrupted
%IsTerminated
%StatusCode
%MessagesReceivedOld
%MessagesSentOld
ReplyCodeActions
RetryInterval
AlertRetryGracePeriod
FailureTimeout
Retry
SuspendMessage
QueueCountAlert
QueueWaitAlert
InactivityTimeout
BusinessPartner
AlertGroups
%SuperSession

Storage Model: Storage (EnsLib.PrivateSession.Process)

^Ens.BusinessProcessD(ID,"Process")
=
ServiceDuplexName
%IsInPrivateSession

Subclasses

FeedbackOpens in a new tab