PaP
Class DebugServer
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--PaP.RMIServer
|
+--PaP.DebugServer
- All Implemented Interfaces:
- java.awt.event.ActionListener, ControlInterface, DebugInterface, java.util.EventListener, java.rmi.Remote, java.io.Serializable
- public class DebugServer
- extends RMIServer
- implements java.io.Serializable, DebugInterface
Implements a DebugServer window to receive and display debug trace messages from multiple
debug clients and input and process user control commands
- See Also:
- Serialized Form
Field Summary |
(package private) boolean |
count
|
(package private) int |
countNo
|
(package private) boolean |
firstCall
|
(package private) long |
firstTime
|
(package private) java.awt.TextField |
sf
|
(package private) boolean |
step
|
Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf, port, portFactoryParamTypes, portParamTypes, serialVersionUID, ssf |
Fields inherited from class java.rmi.server.RemoteServer |
log, logname |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
DebugServer()
Empty constructor only to throw Exception |
Method Summary |
RequestResult |
control(java.lang.String cmd,
java.lang.String[] args)
Receive and process control commands from its own BaseFrame window |
void |
message(java.util.Date D,
java.lang.String[] pKeywords,
java.lang.String pMessage)
Displays one debug trace message in its window |
void |
setStatus()
Sets the displayed content of the status field of its window |
void |
starter(java.lang.String[] argv)
Initialization and startup method to be able to be started from startPaP and boot classes |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
, clone, exportObject, exportObject, exportObject, exportObject, readObject, reexport, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub, writeObject |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
firstTime
long firstTime
firstCall
boolean firstCall
step
boolean step
count
boolean count
countNo
int countNo
sf
java.awt.TextField sf
DebugServer
public DebugServer()
throws java.lang.Exception
- Empty constructor only to throw Exception
starter
public void starter(java.lang.String[] argv)
throws java.lang.Exception
- Initialization and startup method to be able to be started from startPaP and boot classes
control
public RequestResult control(java.lang.String cmd,
java.lang.String[] args)
- Receive and process control commands from its own BaseFrame window
- Parameters:
cmd
- Control commandargs
- Arguments for the control command
message
public void message(java.util.Date D,
java.lang.String[] pKeywords,
java.lang.String pMessage)
throws java.lang.Exception
- Displays one debug trace message in its window
- Specified by:
message
in interface DebugInterface
- Parameters:
D
- Exact time instance of the creation of the messagepKeywords
- A set of keywords to match with the debug trace filtering keywordspMessage
- The actual debug trace message that carries the debug information
setStatus
public void setStatus()
- Sets the displayed content of the status field of its window