Causeway JSON

From Erights

Revision as of 13:38, 2 August 2008 by Kevin Reid (Talk | contribs)
Jump to: navigation, search

This page is only partly written!

The new log format for Causeway is based on the JSON serialization used by ref_send / Waterken Server (implementation).

The structure classes used by ref_send.

A log is an array of Events.

Contents

Event

Sent

SentIf

Got

Resolved

Comment

Trace

CallSite

A stack frame.

Fields:

  • name :String, the name of the method/code being executed.
  • source :String, the path of the source file.
  • optional span :List[List[int]], the span in the source file.

See also CallSite in ref_send.

Anchor

An Anchor denotes the relative time of occurrence of an event.

Fields:

number specifies the ordering of this event among the events occurring in turn. The numbering may be sparse.

See also Anchor in ref_send.

Turn

A Turn identifies some turn in some event loop.

Fields:

number specifies the ordering of this turn among the turns executed by the event loop which is identified by the URI loop. The numbering may be sparse.

See also Turn in ref_send.

Discussion

Personal tools
more tools