nsmcp::AccessRecordStoreSQLite method statePut (public)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> statePut key value

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl

Save a named control-state value. Replace the existing value using scalar binding. The caller controls transaction boundaries when this state accompanies record or coverage changes.

Parameters:
key (required)
Control-state key.
value (required)
Tcl value to serialize into the state table.
Returns:
An empty result after the value has been saved.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: