Class LogPlayers
java.lang.Object
|
+--os.OSProcess
|
+--LogPlayers
- public class LogPlayers
- extends OSProcess
A Bot OS program to gather information about players that the robot
encounters while in the collaborative environment.
- Version:
- 1.1
- Author:
- Thaddeus O. Cooper (cooper@tweenproject.org)
|
Method Summary |
boolean |
beVerbose()
|
java.util.Properties |
getProperties()
|
void |
initialize()
This is called by the operating system during the initialization
phase of the process. |
void |
run()
The method that is called to do the real work of the process. |
void |
setProperties(java.util.Properties properties)
|
void |
setVerbose(boolean t)
|
| Methods inherited from class os.OSProcess |
done,
getArgs,
getExitStatus,
getId,
getObject,
getParentId,
getShared,
getWaitingFor,
isInitialized,
isWaitingFor,
registerObject,
requestObject,
setArgs,
setArgs,
setExitStatus,
setId,
setInitialized,
setObject,
setParentId,
setShared,
setWaitingFor,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
LogPlayers
public LogPlayers()
initialize
public void initialize()
- Description copied from class: OSProcess
- This is called by the operating system during the initialization
phase of the process. By default this method sets the process to
the initialized state and returns. More sophisticated processes
should override this method and place their initialization code
here. When initialization is complete, a call to setInitialized
with a value of true will set the process to its initialized state.
- Overrides:
- initialize in class OSProcess
run
public void run()
throws OSProcessRelinquishControl
- Description copied from class: OSProcess
- The method that is called to do the real work of the process. The
process should not hold the CPU forever, or no other processes
will be able to run.
- Overrides:
- run in class OSProcess
- Tags copied from class: OSProcess
- Throws:
- OSProcessRelinquishControl - thrown when the process wants
to temporarily relinquish
control and let another
process run.
- OSProcessDone - thrown when the process is finished.
- OSProcessLoadProcess - thrown when the process is
requesting that the operating
system load a process for it.
- OSProcessExecProcess - thrown when the process is
requesting that the operating
system load a process and replace
it with the new process. This
process exits by default.
- OSProcessWaitForProcess - thrown when the process wants
to wait for another process to
complete before continuing to
run.
setVerbose
public void setVerbose(boolean t)
beVerbose
public boolean beVerbose()
setProperties
public void setProperties(java.util.Properties properties)
getProperties
public java.util.Properties getProperties()