nsmcp::RequestClass method new (public)

 <instance of nsmcp::RequestClass[i]> new args [ args... ]

Defined in /usr/local/ns/tcl/nsmcp/00-lifecycle.tcl

Create a request-owned object and register it for cleanup. Forward constructor arguments through NX, then track the resulting object in the current interpreter's request lifecycle.

Parameters:
args (required)
NX constructor arguments forwarded to the superclass constructor.
Returns:
The newly created object command.

Testcases:
No testcase defined.
Source code:
set object [next]
::nsmcp::track $object
return $object
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: