MicroTAPAS.debug
Class DebugEvent

java.lang.Object
  |
  +--MicroTAPAS.debug.DebugEvent
All Implemented Interfaces:
java.io.Serializable

public class DebugEvent
extends java.lang.Object
implements java.io.Serializable

A simple object to hold information about a debug event that should be sent to the debug server.

See Also:
Serialized Form

Field Summary
static int FATAL
          Define fault types
static int FAULT
           
static java.lang.String[] faultTypes
          String representation of faultTypes.
static int INFODEBUG
           
static int INFORUNTIME
           
 long timestamp
           
static int WARNING
           
 
Constructor Summary
DebugEvent(java.lang.Object pSender, int pType, java.lang.String pMethod, java.lang.Object pMsg)
          Constructor
 
Method Summary
 long getId()
           
 java.lang.String getMethod()
           
 java.lang.Object getMsg()
           
 java.lang.String getNode()
           
 java.lang.String getSender()
           
 long getTimestamp()
           
 int getType()
           
 java.lang.String toString()
          Overloaded toString() method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FATAL

public static final int FATAL
Define fault types

See Also:
Constant Field Values

FAULT

public static final int FAULT
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

INFORUNTIME

public static final int INFORUNTIME
See Also:
Constant Field Values

INFODEBUG

public static final int INFODEBUG
See Also:
Constant Field Values

faultTypes

public static final java.lang.String[] faultTypes
String representation of faultTypes.


timestamp

public long timestamp
Constructor Detail

DebugEvent

public DebugEvent(java.lang.Object pSender,
                  int pType,
                  java.lang.String pMethod,
                  java.lang.Object pMsg)
Constructor

Parameters:
pSender - A refrence to the sending object.
pType - The type of debug event.
pMethod - The method from which the event was sent.
pMsg - The message contained in the event.
Method Detail

getNode

public java.lang.String getNode()

getSender

public java.lang.String getSender()

getMethod

public java.lang.String getMethod()

getType

public int getType()

getMsg

public java.lang.Object getMsg()

getTimestamp

public long getTimestamp()

getId

public long getId()

toString

public java.lang.String toString()
Overloaded toString() method.

Overrides:
toString in class java.lang.Object
Returns:
The String representation of this object.