nsmcp::QuestionService method owned (protected)
<instance of nsmcp::QuestionService> owned context handle
Defined in /usr/local/ns/tcl/nsmcp/question-service.tcl
- Parameters:
- context (required)
- handle (required)
- Testcases:
- No testcase defined.
Source code: if {![regexp {^[a-f0-9]{64}$} $handle] || ![nsv_exists ${:store} $handle]} {return -code error -errorcode {NSMCP QUESTION CONVERSATION_UNAVAILABLE} "Unknown or expired conversation"} set record [nsv_get ${:store} $handle] if {[dict get $record principal] ne [$context principal] || [dict get $record server] ne [$context server]} { return -code error -errorcode {NSMCP QUESTION CONVERSATION_UNAVAILABLE} "Unknown or expired conversation" } if {[dict get $record expires] <= [clock seconds] && [dict get $record status] ni {queued running cancelling}} { :drop $handle return -code error -errorcode {NSMCP QUESTION CONVERSATION_UNAVAILABLE} "Unknown or expired conversation" } return $recordXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)