nsmcp::UnifiedAccessDatabase method connect (public)

 <instance of nsmcp::UnifiedAccessDatabase[i]> connect

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

Open a readable unified access-record session. Retry eligible store-lock failures and establish compatibility views, closing the adapter on setup errors.

Returns:
A UnifiedAccessSession object.

Testcases:
No testcase defined.
Source code:
set store [:accessRecordRetry ${:settings} [list :accessRecordReaderOpen ${:settings}]]
if {![$store available]} {
    $store close
    error "access store pool checkout timed out"
}
try {
    $store legacyViews
} on error {message options} {
    $store close
    return -options $options $message
}
return [::nsmcp::UnifiedAccessSession new -adapter $store]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: