|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--MicroTAPAS.debug.DebugEvent
A simple object to hold information about a debug event that should be sent to the debug server.
| Field Summary | |
static int |
FATAL
Define fault types |
static int |
FAULT
|
static java.lang.String[] |
faultTypes
String representation of faultTypes. |
private long |
id
|
static int |
INFODEBUG
|
static int |
INFORUNTIME
|
private java.lang.String |
method
|
private java.lang.Object |
msg
|
private java.lang.String |
node
|
private java.lang.String |
senderClass
|
long |
timestamp
|
private int |
type
|
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()
|
private void |
init()
Initializes this DebugEvent |
java.lang.String |
toString()
Overloaded toString() method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int FATAL
public static final int FAULT
public static final int WARNING
public static final int INFORUNTIME
public static final int INFODEBUG
public static final java.lang.String[] faultTypes
private java.lang.String node
private java.lang.String senderClass
private java.lang.String method
private int type
private java.lang.Object msg
private long id
public long timestamp
| Constructor Detail |
public DebugEvent(java.lang.Object pSender,
int pType,
java.lang.String pMethod,
java.lang.Object pMsg)
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 |
private void init()
public java.lang.String getNode()
public java.lang.String getSender()
public java.lang.String getMethod()
public int getType()
public java.lang.Object getMsg()
public long getTimestamp()
public long getId()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||