alma::acs::commandcenter::trace::Flow Class Reference

Inheritance diagram for alma::acs::commandcenter::trace::Flow:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::commandcenter::trace::Flow:
Collaboration graph
[legend]

List of all members.

Classes

class  Node

Public Member Functions

void consistsOf (String parent, String[] kids)
void reset (Object info)
void trying (String step)
void success (String step)
void failure (Object info)
void addListener (FlowListener l)
void removeListener (FlowListener l)

Protected Member Functions

Node node (String name)
void fireReset (Object info)
void fireTrying (String step)
void fireSuccess (String step)
void fireFailure (String step, Object info)
void fireCompletion ()

Protected Attributes

final Node UNDEF = new Node("")
Map< String, Nodename2node = new HashMap<String,Node>()
Node latestSuccess = UNDEF
Node nowTrying = UNDEF
Vector< FlowListenerlisteners = new Vector<FlowListener>()

Detailed Description

The base class for flow tracing, subclass this to define a flow.


Member Function Documentation

void alma::acs::commandcenter::trace::Flow::addListener ( FlowListener  l  )  [inline]
void alma::acs::commandcenter::trace::Flow::consistsOf ( String  parent,
String[]  kids 
) [inline]

References node().

void alma::acs::commandcenter::trace::Flow::failure ( Object  info  )  [inline]
void alma::acs::commandcenter::trace::Flow::fireCompletion (  )  [inline, protected]

References listeners.

Referenced by success().

void alma::acs::commandcenter::trace::Flow::fireFailure ( String  step,
Object  info 
) [inline, protected]

References failure(), and listeners.

Referenced by failure().

void alma::acs::commandcenter::trace::Flow::fireReset ( Object  info  )  [inline, protected]

References listeners, and reset().

Referenced by reset().

void alma::acs::commandcenter::trace::Flow::fireSuccess ( String  step  )  [inline, protected]

References listeners, and success().

Referenced by success().

void alma::acs::commandcenter::trace::Flow::fireTrying ( String  step  )  [inline, protected]

References listeners, and trying().

Referenced by trying().

Node alma::acs::commandcenter::trace::Flow::node ( String  name  )  [inline, protected]

References name2node.

Referenced by consistsOf(), failure(), success(), and trying().

void alma::acs::commandcenter::trace::Flow::removeListener ( FlowListener  l  )  [inline]
void alma::acs::commandcenter::trace::Flow::reset ( Object  info  )  [inline]
void alma::acs::commandcenter::trace::Flow::success ( String  step  )  [inline]
void alma::acs::commandcenter::trace::Flow::trying ( String  step  )  [inline]

References fireTrying(), node(), and nowTrying.

Referenced by fireTrying().


Member Data Documentation

Referenced by failure(), reset(), and success().

Map<String,Node> alma::acs::commandcenter::trace::Flow::name2node = new HashMap<String,Node>() [protected]

Referenced by failure(), reset(), success(), and trying().

Referenced by failure(), reset(), and success().


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

Generated by  doxygen 1.6.2