MicroTAPAS
Class FaultHandler

java.lang.Object
  |
  +--MicroTAPAS.FaultHandler

public class FaultHandler
extends java.lang.Object

Fault handler


Field Summary
private  MicroBaseFrame bf
          Handle used to report errors
static int Fatal
          Reporting a fatal error
static int Fault
          Reporting an error
private static java.lang.String[] FT
          Textual representation of fault types
static int InfoDebug
          Reporting debug information
static int InfoRuntime
          Reporting just information
 int nReportedFaults
          Number of faults reported
 int reportLevel
          Report level
static int Warning
          Reporting a warning
 
Constructor Summary
FaultHandler(int level, MicroBaseFrame reportTo)
          New instance of fault handler
 
Method Summary
 void faultReport(int faultType, GAI address, java.lang.String cause)
          A new fault reporting
 Item status()
          Status reporting utility to convert all data field values into one Item hierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bf

private MicroBaseFrame bf
Handle used to report errors


reportLevel

public int reportLevel
Report level


nReportedFaults

public int nReportedFaults
Number of faults reported


Fatal

public static final int Fatal
Reporting a fatal error

See Also:
Constant Field Values

Fault

public static final int Fault
Reporting an error

See Also:
Constant Field Values

Warning

public static final int Warning
Reporting a warning

See Also:
Constant Field Values

InfoRuntime

public static final int InfoRuntime
Reporting just information

See Also:
Constant Field Values

InfoDebug

public static final int InfoDebug
Reporting debug information

See Also:
Constant Field Values

FT

private static java.lang.String[] FT
Textual representation of fault types

Constructor Detail

FaultHandler

public FaultHandler(int level,
                    MicroBaseFrame reportTo)
New instance of fault handler

Method Detail

faultReport

public void faultReport(int faultType,
                        GAI address,
                        java.lang.String cause)
A new fault reporting

Parameters:
faultType - Defines type of fault, that is the seriousity
address - Address of the entity reporting the fault
cause - A description of the reason

status

public Item status()
Status reporting utility to convert all data field values into one Item hierarchy

Returns:
Item form of the data field values


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.