abstract class Ens.BusinessDuplex
extends Ens.BusinessService, Ens.BusinessOperation
This is a Business Service class.
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