PaP
Class Debug

java.lang.Object
  |
  +--PaP.Debug
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
(package private) static java.lang.String DebugServerLocation
          Attached DebugServer location to report debug trace message to
private  java.lang.String[] kW
          Set of filtering keywords at this Debug object
 
Constructor Summary
Debug(java.lang.String[] pKW, java.lang.String pDSL)
          PaP system entities instantiate Debug with location of DebugServer DebugServer class its with it's local host name
 
Method Summary
 java.lang.String[] getKeywords()
          Returns the actual set of debug trace keywords
 void pln(java.lang.String[] pKW, java.lang.String pMessage)
          Prints debug trace info into a degug client window and sends it to attached DebugServer
 void println(java.lang.String[] pKW, java.lang.String pMessage)
           
 void setKeywords(java.lang.String[] pKW)
          Sets debug trace keywords
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

kW

private java.lang.String[] kW
Set of filtering keywords at this Debug object

DebugServerLocation

static java.lang.String DebugServerLocation
Attached DebugServer location to report debug trace message to
Constructor Detail

Debug

public Debug(java.lang.String[] pKW,
             java.lang.String pDSL)
PaP system entities instantiate Debug with location of DebugServer DebugServer class its with it's local host name
Method Detail

pln

public void pln(java.lang.String[] pKW,
                java.lang.String pMessage)
Prints debug trace info into a degug client window and sends it to attached DebugServer
Parameters:
pKW - A set of keywords to match with the debug trace filtering keywords
pMessage - The actual debug trace message that carries the debug information

println

public void println(java.lang.String[] pKW,
                    java.lang.String pMessage)

setKeywords

public void setKeywords(java.lang.String[] pKW)
Sets debug trace keywords
Parameters:
pKW - The new set of keywords

getKeywords

public java.lang.String[] getKeywords()
Returns the actual set of debug trace keywords
Returns:
The actual set of keywords