sconemad

technology, scones, nonsense

Loading...

Profiles

Twitter

GitHub

Launchpad

Subscribe to my RSS Feed

Admin

stat

A general statistics module for tracking the number of connections and total data transferred. Named StatChannel"s can be used to collect statistics for each server chain.

Connections

server.channel.add ( "stat", StatChannel_id : String )

The stat stream simply records the amount of data passing in and out through the stream, and records it under the specified StatChannel. The channel should be created prior to any connections being made (see below).

SconeScript Interface

In addition to the standard module interface, it also has the following:

Properties

Name Type Descripion
channels List of StatChannel List of statistics channels
print String A printable summary of statistics channel data

Methods

add ( StatChannel_id : String )
Add a new statistics channel.
remove ( StatChannel_id : String )
Remove a statistics channel.
Updated on 2013-11-01 15:41:44 +0000 | Requested on 2021-05-12 16:38:35 +0000