Demo.DICOM.Process.RouterDispatcher
persistent class Demo.DICOM.Process.RouterDispatcher extends EnsLib.DICOM.Process
SQL Table Name: Demo_DICOM_Process.RouterDispatcher
Property Inventory
Method Inventory
Parameters
parameter SETTINGS = FilerConfigNames;
This parameter lists the (comma seperated ) names of the RouterFiler business processes
Properties
property Abort as %Boolean [ InitialExpression = 0 ];
This property records whether the filers returned an errored message, in which case we should send an Abort back to the modality
Property methods: AbortDisplayToLogical(), AbortGet(), AbortGetStored(), AbortIsValid(), AbortLogicalToDisplay(), AbortNormalize(), AbortSet()
property ActiveFilers as list of %String;
This is a list of router filer processes which we have sent documents to and have not yet received a response from
Property methods: ActiveFilersBuildValueArray(), ActiveFilersCollectionToDisplay(), ActiveFilersCollectionToOdbc(), ActiveFilersDisplayToCollection(), ActiveFilersDisplayToLogical(), ActiveFilersGet(), ActiveFilersGetObject(), ActiveFilersGetObjectId(), ActiveFilersGetStored(), ActiveFilersGetSwizzled(), ActiveFilersIsValid(), ActiveFilersLogicalToDisplay(), ActiveFilersLogicalToOdbc(), ActiveFilersNormalize(), ActiveFilersOdbcToCollection(), ActiveFilersSet(), ActiveFilersSetObject(), ActiveFilersSetObjectId()
property ErrorComment as %String (MAXLEN = 64, TRUNCATE = 1);
This property stores ErrorComment returned in the C-STORE-RSP from the filers so that we can send the same ErrorComment to the modality
Property methods: ErrorCommentDisplayToLogical(), ErrorCommentGet(), ErrorCommentGetStored(), ErrorCommentIsValid(), ErrorCommentLogicalToDisplay(), ErrorCommentLogicalToOdbc(), ErrorCommentNormalize(), ErrorCommentSet()
property FilerConfigNames;
This is the list of configuration names of the router filer process(es)
Property methods: FilerConfigNamesDisplayToLogical(), FilerConfigNamesGet(), FilerConfigNamesGetStored(), FilerConfigNamesIsValid(), FilerConfigNamesLogicalToDisplay(), FilerConfigNamesLogicalToOdbc(), FilerConfigNamesNormalize(), FilerConfigNamesSet()
property ResponseStatus as %String [ InitialExpression = 0 ];
This property stores the Status returned in C-STORE-RSP from the filers so that we can send the same Status to the modality
Property methods: ResponseStatusDisplayToLogical(), ResponseStatusGet(), ResponseStatusGetStored(), ResponseStatusIsValid(), ResponseStatusLogicalToDisplay(), ResponseStatusLogicalToOdbc(), ResponseStatusNormalize(), ResponseStatusSet()
Methods
method CreateStorageResponse(pDocIn As EnsLib.DICOM.Document, Output pDocOut As EnsLib.DICOM.Document, pStatus As %String = 0, pComment As %String = "") as %Status
Create a storage response DICOM message
classmethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
Return an array of connections for drawing lines on the config diagram
method OnMessage(pSourceConfigName As %String, pInput As %Library.Persistent) as %Status
Messages received here are instances of EnsLib.DICOM.Document sent to this
process by the service or operation config items. In this demo, the process is ever
in one of two states, the Operation is connected or not.
method OnResponse(request As Ens.Request, ByRef response As Ens.Response, callrequest As Ens.Request, callresponse As Ens.Response, pCompletionKey As %String) as %Status
Handle a 'Response'
Inherited Members
Inherited 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
Inherited 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()
- AbortAssociation()
- AdapterName()
- AssignOneSetting()
- ClearAllPendingResponses()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- EstablishAssociation()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- IsInPrivateSession()
- IsInPrivateSessionSet()
- IsResponsePending()
- OnAssociationAborted()
- OnAssociationErrored()
- OnAssociationEstablished()
- OnAssociationRejected()
- OnAssociationReleased()
- OnComplete()
- OnDetermineTransferSyntax()
- OnError()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnRequest()
- OnTearDown()
- OnTimeout()
- QueueName()
- ReleaseAssociation()
- RemovePendingResponse()
- Reply()
- ReplyError()
- ScheduleWakeupCall()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()
- SetTimer()
- StartPrivateSession()
- StopAllPrivateSessions()
- StopPrivateSession()
- UnRegisterPrivateSession()
Storage
Gray indicates storage defined by superclasses.
Storage Model: CacheStorage (Ens.BusinessProcess)
^Ens.BusinessProcessD(ID,"pending",n) | = | %MasterPendingResponses(n) |
^Ens.BusinessProcessD(ID,"received",n) | = | %MessagesReceived(n) |
^Ens.BusinessProcessD(ID,"sent",n) | = | %MessagesSent(n) |
^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
|
^Ens.BusinessProcessD(ID,"Process") | = | ServiceDuplexName
%IsInPrivateSession
|
^Ens.BusinessProcessD(ID,"RouterDispatcher") | = | FilerConfigNames
ActiveFilers
ResponseStatus
ErrorComment
Abort
|