Causeway JSON

From Erights

(Difference between revisions)
Jump to: navigation, search
(CallSite: list fields and link, at least)
(Anchor: describe Anchor, Turn)
Line 33: Line 33:
== Anchor ==
== Anchor ==
 +
 +
An Anchor denotes the relative time of occurrence of an event.
 +
 +
Fields:
 +
* <code>turn</code> :[[#Turn|Turn]]
 +
* <code>number</code> :[[int]]
 +
 +
<var>number</var> specifies the ordering of this event among the events occurring in <var>turn</var>. The numbering may be sparse.
 +
 +
See also [http://waterken.sourceforge.net/javadoc/org/ref_send/log/Anchor.html Anchor in ref_send].
 +
 +
== Turn ==
 +
 +
A Turn identifies some turn in some event loop.
 +
 +
Fields:
 +
* <code>loop</code> :[[String]]
 +
* <code>number</code> :[[int]]
 +
 +
<var>number</var> specifies the ordering of this turn among the turns executed by the event loop which is identified by the URI <var>loop</var>. The numbering may be sparse.
 +
 +
See also [http://waterken.sourceforge.net/javadoc/org/ref_send/log/Turn.html Turn in ref_send].
== Discussion ==
== Discussion ==

Revision as of 13:38, 2 August 2008

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