Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIMetricsEventItem Interface Reference

import "nsIMetricsService.idl";

Inheritance diagram for nsIMetricsEventItem:


List of all members.

Detailed Description

This file defines the interfaces for the Metrics Service.

This service allows arbitrary types of events to be logged and uploaded to a server, based on server-configured collection parameters. The nsIMetricsService API provides an abstraction for the underlying XML data format.

For more information about the data format and the built-in event collectors, see http://wiki.mozilla.org/Browser_Metrics. nsIMetricsEventItem represents a particular node of data to record in an event. Each item has a namespaced item name, a list of properties (key/value pairs), and an ordered list of child items. The child items need not be unique; an item may be repeated.

Definition at line 64 of file nsIMetricsService.idl.

Public Member Functions

void appendChild (in nsIMetricsEventItem item)
nsIMetricsEventItem childAt (in long index)
void clearChildren ()
long indexOf (in nsIMetricsEventItem item)
void insertChildAt (in nsIMetricsEventItem item, in long index)
void removeChildAt (in long index)
void replaceChildAt (in nsIMetricsEventItem newItem, in long index)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute long childCount
readonly attribute DOMString itemName
readonly attribute DOMString itemNamespace
attribute nsIPropertyBag properties

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index