mwalk Platform 0.3.0

mwalk.core
Class MTrace

java.lang.Object
  |
  +--mwalk.core.MTrace

public class MTrace
extends java.lang.Object

A class representing a single mtrace.

Version:
1.0
Author:
Robert Chalmers

Field Summary
 boolean complete
          Whether the trace was complete
 boolean gateway
          Whether the trace type is gateway
 Hop[] hops
          List of hops in the trace
 boolean parsed
          Whether the mtrace has been parsed
 long time
          Timestamp of the trace
 
Constructor Summary
MTrace()
          Default constructor.
MTrace(java.io.BufferedReader ir)
          Constructor.
 
Method Summary
 void parse(java.io.BufferedReader ir)
          Parse the next trace from the supplied reader.
 void parseHops(java.io.BufferedReader ir, int hopCount)
          Parse the list of hops for this trace.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parsed

public boolean parsed
Whether the mtrace has been parsed

complete

public boolean complete
Whether the trace was complete

gateway

public boolean gateway
Whether the trace type is gateway

time

public long time
Timestamp of the trace

hops

public Hop[] hops
List of hops in the trace
Constructor Detail

MTrace

public MTrace()
Default constructor.

MTrace

public MTrace(java.io.BufferedReader ir)
       throws BuildException,
              ConfigException
Constructor.
Parameters:
BufferedReader - reader to use for parsing
Throws:
BuildException - if parsing failed
ConfigException - if the trace has the wrong source
Method Detail

parse

public void parse(java.io.BufferedReader ir)
           throws BuildException,
                  ConfigException
Parse the next trace from the supplied reader.
Parameters:
BufferedReader - reader to use for parsing
Throws:
BuildException - if parsing failed
ConfigException - if the trace has the wrong source

parseHops

public void parseHops(java.io.BufferedReader ir,
                      int hopCount)
               throws BuildException
Parse the list of hops for this trace.
Parameters:
BufferedReader - reader to use for parsing
int - number of hop currently parsing
Throws:
BuildException - if parsing failed

mwalk Platform 0.3.0

Submit a bug or feature mwalk Platform API Specification 0.3.0
Sensitivity: {Public:Research}
Copyright(c) 2000, Robert Chalmers