Class ::nsmcp::LogSummaryReader

::nsmcp::LogSummaryReader[i] create ... \
           [ -buffer (default "") ] \
           [ -channel:required channel:required ] \
           [ -index (default "0") ] \
           [ -limit:required limit:required ] \
           [ -lookahead (default "") ] \
           [ -maxBytes:required maxBytes:required ] \
           [ -offset:required offset:required ]

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

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsmcp::Object[i]

Methods (to be applied on instances)

  • next (scripted, public)

     <instance of nsmcp::LogSummaryReader[i]> next

    Read the next logical system-log event. Combine supported continuation lines and retain lookahead for the following event.

    Returns:
    The event dictionary, or an empty result at end of input.

    Testcases:
    No testcase defined.
  • nextLine (scripted, public)

     <instance of nsmcp::LogSummaryReader[i]> nextLine

    Read the next physical line for an access-file scan. Delegate to the reader's bounded line source without logical-record assembly.

    Returns:
    The next line descriptor, or an empty result at exhaustion.

    Testcases:
    No testcase defined.